...
- Hadoop Streaming: Place
hadoop-streaming-*.jar
into HDFS. Use the following command:
where <templeton.streaming.jar> is a property value defined inNo Format hadoop fs -put <hadoop streaming jar> \ <templeton.streaming.jar>/hadoop-streaming-*.jar
webhcat-default.xml
which can be overridden in thewebhcat-site.xml
file, and <hadoop streaming jar> is the Hadoop streaming jar in your Hadoop version:hadoop-1.*/contrib/streaming/hadoop-streaming-*.jar
in the Hadoop 1.x tarhadoop-2.*/share/hadoop/tools/lib/hadoop-streaming-*.jar
in the Hadoop 2.x tar
For example,No Format hadoop fs -put hadoop-2.1.0/share/hadoop/tools/lib/hadoop-streaming-2.1.0.jar \ /apps/templeton/hadoop-streaming.jar
...
The location of these files in the cache, and the location of the installations inside the archives, can be specified using the following WebHCat configuration variables. (See the Configuration documentation for more information on changing WebHCat configuration parameters.) The Some default values vary depending on release number; defaults shown below are for the version of WebHCat that is included in Hive release 0.11.0. Defaults for the previous release are shown in the HCatalog 0.5.0 documentation.
...