Github user jihoonson commented on the pull request:
https://github.com/apache/tajo/pull/719#issuecomment-137691470
When I submitted a query on HDFS table, the query is hanged with the
following error.
```
2015-09-04 18:36:30,726 INFO org.apache.tajo.storage.FileTablespace: Total
# of splits: 1
2015-09-04 18:36:30,727 ERROR org.apache.tajo.querymaster.Stage: Stage
(eb_1441359373738_0001_000007) ERROR:
java.lang.ClassCastException: org.apache.tajo.storage.pgsql.PgSQLTablespace
cannot be cast to org.apache.tajo.storage.FileTablespace
at
org.apache.tajo.querymaster.Repartitioner.scheduleLeafTasksWithBroadcastTable(Repartitioner.java:507)
at
org.apache.tajo.querymaster.Repartitioner.scheduleFragmentsForJoinQuery(Repartitioner.java:231)
at
org.apache.tajo.querymaster.Stage$InitAndRequestContainer.schedule(Stage.java:1037)
at
org.apache.tajo.querymaster.Stage$InitAndRequestContainer.access$800(Stage.java:817)
at
org.apache.tajo.querymaster.Stage$InitAndRequestContainer$1.run(Stage.java:843)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
```
Query hang is because the type cast exception is not handled, so it may not
be related to this issue.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---