start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
start [2015/10/23 21:23]
dmtolpeko [Installing HPL/SQL from Binaries]
start [2015/10/23 21:28]
dmtolpeko [Installing HPL/SQL from Binaries]
Line 28: Line 28:
 <​code>​ <​code>​
 chmod +x <​hplsql_dir>/​hplsql chmod +x <​hplsql_dir>/​hplsql
 +</​code>​
 +
 +**2. Configure CLASSPATH** (Optional)
 +
 +For Cloudera distributions,​ you can edit //hplsql// file, remove all lines containing
 +
 +<​code>​
 +export "​HADOOP_CLASSPATH=..."​
 +</​code>​
 +
 +and add the following line
 +
 +<​code>​
 +export "​HADOOP_CLASSPATH=/​opt/​cloudera/​parcels/​CDH/​jars/​*"​
 </​code>​ </​code>​
    
-**2. Test installation**+**3. Test installation**
  
 Run the following command to test HPL/SQL installation:​ Run the following command to test HPL/SQL installation:​
Line 41: Line 55:
 If the version number is printed the tool is installed correctly. If the version number is printed the tool is installed correctly.
  
-**3. Add to PATH variable** (Optional)+**4. Add to PATH variable** (Optional)
  
 You may add HPL/SQL directory to PATH variable: You may add HPL/SQL directory to PATH variable:
Line 55: Line 69:
 </​code>​ </​code>​
  
-**4. Configure CLASSPATH** (Optional) 
  
-For Cloudera distributions,​ you can edit //hplsql// file, remove all lines containing 
- 
-<​code> ​     
-export "​HADOOP_CLASSPATH=..."​ 
-</​code>​ 
- 
-and add the following line 
- 
-<​code>​ 
-export "​HADOOP_CLASSPATH=/​opt/​cloudera/​parcels/​CDH/​jars/​*"​ 
-</​code>​ 
  
 ===== Configuration ===== ===== Configuration =====