How to setup Hive on linux ?

1. Download Hive

  • Set variable environment linux

2. Config set hive into  variable environment linux.

  • Edit .bash_profile in folder root

How to setup Hadoop Single Node on Linux ?

1. Setup JAVA.

http://cuongld.com/how-to-setup-java-on-linux/

2. Setup Hadoop

  • Create key to connect by SSH.

  • Setup Hadoop.

  • Configuration Hadoop.

Continue reading How to setup Hadoop Single Node on Linux ?

How to debug project hadoop in eclipse on VMware ?

1. Libraries Required
+ hadoop-core-1.2.1.jar
+ commons-logging-1.1.3.jar
+ commons-configuration-1.10.jar
+ commons-lang-2.6.jar
+ jackson-core-asl-1.9.11.jar
+ jackson-mapper-asl-1.9.11.jar
+ commons-httpclient-3.1.jar

2. Libraries Useful
+ commons-io-2.4.jar : delete output folder, don’t reconfig [Program arguments]

3. Create input/output folder
+ data/input
+ data/output

4. Run Configurations
+ Right-click [local-job-runner] project and choose Run As (or Debug As) => Run Configurations…
+ In [Main] tab : [Project] = [local-job-runner], [Main class] = [WordCount]
+ In [(x)=Arguments] tab : [Program arguments] = [data/input data/output]

5. Local Job Runner
+ Right-click the main class [WordCount.class] and choose Run As (or Debug As) => Java Application

How to setup Java on linux ?

1.    Setup Java by normal.

  • Setup Java

  • Set JAVA_HOME

2.      Setup Java by RPM