Home > other >  Hadoop by OLH class can't find the abnormal load data into ORACLE report? For a great god
Hadoop by OLH class can't find the abnormal load data into ORACLE report? For a great god

Time:11-25

[HDP - 01 @ localhost ~] $$OLH_JAR oracle hadoop jar. Hadoop. Leoader. OraLoader - conf OLH/MyConf XML
The Exception in the thread "main" Java. Lang. ClassNotFoundException: oracle. Hadoop. Leoader. OraLoader
The at java.net.URLClassLoader.findClass URLClassLoader. Java: (381)
The at Java. Lang. This. LoadClass (424). This Java:
The at Java. Lang. This. LoadClass (357). This Java:
The at Java. Lang. Class. ForName0 (Native Method)
The at Java. Lang. Class.forname (348) Class. Java:
At org, apache hadoop. Util. RunJar. Run (237) RunJar. Java:
At org, apache hadoop. Util. RunJar. Main (158) RunJar. Java:

The configuration file



Graphs. Inputformat. Class
Oracle. Hadoop. Loader. Lib. Input. DelimitedTextInputFormat



Mapred. Input. Dir
T1. Dat



Graphs. Outputformat. Class
Oracle. Hadoop. Loader. Lib. Output. JDBCOutputFormat



Mapred. Output. Dir
Olh_out & lt;/value>



Oracle. Hadoop. Loader. LoaderMapFile
file:///home/hdp-01/OLH/olh_t1.xml



Oracle. Hadoop. Loader. Connection. Url
JDBC: oracle: thin: @//192.168.10.111:1522/orcl



Oracle. Hadoop. Loader. Con nection. User
Stott



Oracle. Hadoop. Loader. Connection. Password
Stott




Server file
[HDP - 01 @ localhost ~] $hadoop fs - ls/
20/11/24 22:36:09 WARN util. NativeCodeLoader: Unable to load the native - hadoop library for your platform... Using the builtin - Java classes where applicable
Found 2 items
DRWXR - xr - x - root its 0 2020-11-23/oracle
DRWXR - xr - x - root its 0 2020-11-22/oracleFile



  • Related