Problem
Running a data link or import job against a specific HiveServer2 table throws the following error within the job.log
:
java.lang.ArithmeticException: / by zero
Cause
This is expected behavior for a HiveServer2 table that contains no data. This is a non-critical exception that does not reflect a problem in the product.
Solution
Since it is a requirement during the creation of a data link or an import job to have at least one column that contains data - the only way this issue can be encountered is if the table data is deleted after the data link or import job was created.
An enhancement request known as DAP-35540
has been created to improve the error message returned to the logs in the event that this situation is encountered.
Comments
0 comments
Please sign in to leave a comment.