omalley opened a new pull request #641: URL: https://github.com/apache/orc/pull/641
This change makes Hadoop an optional dependence for ORC reader/writers. It creates a new package org.apache.orc.core that contains a new version of OrcFile, OrcConf, etc. that don't use Hadoop classes. The old classes stay in their old place and should be compatible. The tests required relatively little change. I also included a new version of the tools that does not include Hadoop. It is naturally much smaller (3.6mb vs 40mb). I compiled Hive master branch with the patch to find any places where I could minimize the API changes. Most of the changes are things that changed in ORC 1.6 to master, but they aren't much. https://github.com/omalley/hive/commit/12c1e6416990b7387b7bb823a62468e5a49f24d6 Remaining question: * We still need Writable and WritableComparable from hadoop. Those interfaces are tiny and haven't changed in more than a decade. I currently put them into the nonhadoop tool directory, but they should probably be somewhere else. Thoughts? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
