Hi there,
Running against an HDP 2.5 cluster (VMs, but not the HDP sandbox).
When I go to the "Columns" tab of the "Object Detail" pane, I get this error message:
Image may be NSFW.
Clik here to view.
It's not a big deal because queries still work and I can see the list of columns under the table in the browser to the left, but it's worth figuring out what the problem is.
Here's a log snippet:
2016-10-25 21:53:34 ERROR HiveTableViewerPart:720 - Unable to load Hive table data [Table=city]
com.dell.tfh.control.exception.LoaderException: com.dell.tfh.control.exception.LoaderException: java.lang.IllegalArgumentException: Invalid type
2016-10-25 21:53:34 INFO DefaultExceptionParser:58 - com.dell.tfh.control.exception.LoaderException: com.dell.tfh.control.exception.LoaderException: java.lang.IllegalArgumentException: Invalid type
at com.dell.tfh.control.loader.hive.HiveColumnCollectionLoader.loadCollection(HiveColumnCollectionLoader.java:107)
at com.dell.tfh.control.service.ModelService.loadCollectionInward(ModelService.java:529)
at com.dell.tfh.control.service.ModelService.loadCollection(ModelService.java:503)
at com.dell.tfh.gui.commons.jobs.JobsService.loadChildrenBlocking(JobsService.java:335)
at com.dell.tfh.gui.commons.jobs.JobsService.loadChildrenBlocking(JobsService.java:368)
at com.dell.tfh.gui.hive.part.AbstractUpdateTableChildrenJob.runJob(AbstractUpdateTableChildrenJob.java:119)
at com.dell.tfh.gui.commons.jobs.AbstractToadJob.run(AbstractToadJob.java:162)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: com.dell.tfh.control.exception.LoaderException: java.lang.IllegalArgumentException: Invalid type
at com.dell.tfh.control.loader.hive.HiveColumnLoader.loadDetails(HiveColumnLoader.java:75)
at com.dell.tfh.control.service.ModelService.loadDetail(ModelService.java:886)
at com.dell.tfh.control.loader.AbstractCollectionLoader.loadDetailsInternal(AbstractCollectionLoader.java:43)
at com.dell.tfh.control.loader.hive.HiveColumnCollectionLoader.loadCollection(HiveColumnCollectionLoader.java:103)
... 7 more
Caused by: java.lang.IllegalArgumentException: Invalid type
at com.dell.tfh.model.hive.HiveDataTypeInstance.parseStringDataType(HiveDataTypeInstance.java:167)
at com.dell.tfh.control.hive.JDBCClient.fillColumnWithDetails(JDBCClient.java:1075)
at com.dell.tfh.control.hive.JDBCClient.getColumnDetails(JDBCClient.java:1053)
at com.dell.tfh.control.service.QueryService$20.run(QueryService.java:527)
at com.dell.tfh.control.service.QueryService$20.run(QueryService.java:1)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Unknown Source)
at com.dell.tfh.control.service.QueryService.getColumnDetail(QueryService.java:524)
at com.dell.tfh.control.loader.hive.HiveColumnLoader.loadDetails(HiveColumnLoader.java:73)
... 10 more
And a metadata log snippet:
!ENTRY com.dell.tfh.gui.hive 4 0 2016-10-25 21:53:45.622
!MESSAGE Unable to load Hive table data
!STACK 0
com.dell.tfh.control.exception.LoaderException: com.dell.tfh.control.exception.LoaderException: java.lang.IllegalArgumentException: Invalid type
at com.dell.tfh.control.loader.hive.HiveColumnCollectionLoader.loadCollection(HiveColumnCollectionLoader.java:107)
at com.dell.tfh.control.service.ModelService.loadCollectionInward(ModelService.java:529)
at com.dell.tfh.control.service.ModelService.loadCollection(ModelService.java:503)
at com.dell.tfh.gui.commons.jobs.JobsService.loadChildrenBlocking(JobsService.java:335)
at com.dell.tfh.gui.commons.jobs.JobsService.loadChildrenBlocking(JobsService.java:368)
at com.dell.tfh.gui.hive.part.AbstractUpdateTableChildrenJob.runJob(AbstractUpdateTableChildrenJob.java:119)
at com.dell.tfh.gui.commons.jobs.AbstractToadJob.run(AbstractToadJob.java:162)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: com.dell.tfh.control.exception.LoaderException: java.lang.IllegalArgumentException: Invalid type
at com.dell.tfh.control.loader.hive.HiveColumnLoader.loadDetails(HiveColumnLoader.java:75)
at com.dell.tfh.control.service.ModelService.loadDetail(ModelService.java:886)
at com.dell.tfh.control.loader.AbstractCollectionLoader.loadDetailsInternal(AbstractCollectionLoader.java:43)
at com.dell.tfh.control.loader.hive.HiveColumnCollectionLoader.loadCollection(HiveColumnCollectionLoader.java:103)
... 7 more
Caused by: java.lang.IllegalArgumentException: Invalid type
at com.dell.tfh.model.hive.HiveDataTypeInstance.parseStringDataType(HiveDataTypeInstance.java:167)
at com.dell.tfh.control.hive.JDBCClient.fillColumnWithDetails(JDBCClient.java:1075)
at com.dell.tfh.control.hive.JDBCClient.getColumnDetails(JDBCClient.java:1053)
at com.dell.tfh.control.service.QueryService$20.run(QueryService.java:527)
at com.dell.tfh.control.service.QueryService$20.run(QueryService.java:1)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Unknown Source)
at com.dell.tfh.control.service.QueryService.getColumnDetail(QueryService.java:524)
at com.dell.tfh.control.loader.hive.HiveColumnLoader.loadDetails(HiveColumnLoader.java:73)
... 10 more
Not sure if this matters, but it's an ORC table.
Any ideas what could be causing this?
Thanks,
JP