Github user blrunner commented on the pull request:
https://github.com/apache/tajo/pull/937#issuecomment-175968378
@eminency
Thank you for your contribution.
When using MySQLStore, this PR runs successfully. But when using
HiveCatalogStore, it throws NoClassDefFoundError as following:
```
2016-01-28 13:25:53,025 ERROR org.apache.tajo.master.GlobalEngine:
Stack Trace:
java.lang.NoClassDefFoundError:
com/facebook/presto/hive/protobuf/CodedInputStream
at
com.facebook.presto.orc.metadata.OrcMetadataReader.readPostScript(OrcMetadataReader.java:48)
at com.facebook.presto.orc.OrcReader.<init>(OrcReader.java:99)
at org.apache.tajo.storage.orc.ORCScanner.init(ORCScanner.java:136)
at
org.apache.tajo.engine.planner.physical.SeqScanExec.initScanner(SeqScanExec.java:286)
at
org.apache.tajo.engine.planner.physical.SeqScanExec.init(SeqScanExec.java:191)
at
org.apache.tajo.engine.planner.physical.PartitionMergeScanExec.initScanExecutors(PartitionMergeScanExec.java:80)
at
org.apache.tajo.engine.planner.physical.PartitionMergeScanExec.init(PartitionMergeScanExec.java:67)
```
For the reference, I added the installed directory of apache hive 1.2.1 to
tajo-env.sh file.
---
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.
---