Member since
03-29-2016
34
Posts
0
Kudos Received
0
Solutions
04-26-2016
05:43 PM
ERROR tool.ImportTool: Error during import: Import job failed! Trying to import Oracle tables using Sqoop. Getting error during the import job failed. I have attached the logs. Any thoughts!! mapreduce-import-failed.txt Can you please let me know your suggestions.. Thanks,
... View more
04-26-2016
04:47 PM
Hi, I am getting sqoop import error using oracle tables: sqoop error tool.importtool error during import import job failed Can you please advise. I have attached the log for your reference. Thank you.mapreduce-import-failed.txt
... View more
04-26-2016
04:46 PM
mapreduce-import-failed.txtHi, I am getting sqoop import error using oracle tables: sqoop error tool.importtool error during import import job failed Can you please advise. I have attached the log for your reference. Thank you.
... View more
04-26-2016
03:32 PM
Yes I did and ran the sqoop command again. Verified with Echo %sqoop_home% its showing the details in attached document. But same issue. sqoop-config.jpg
... View more
04-26-2016
03:13 PM
The actual error I am getting is Could not find or load main org.apache.sqoop.sqoop
I ran this as adminstrator runas /user:administrator mklink C:\hadoop\hdp\hadoop-2.7.1.2.4.0.0-169\share\hadoop\yarn\hadoop-yarn-api-2.7.1.2.4.0.0-169.jar C:\hadoop\hdp\sqoop-1.4.6.2.4.0.0-169\lib\hadoop-yarn-api-2.7.1.2.4.0.0-169.jar C:\hadoop\hdp\sqoop-1.4.6.2.4.0.0-169\lib Set Yarn path (Attched the jpg)
set sqoop path (attached the jpg) Executed the sqoop command after checking the classpath but getting the same error
Could not find or load main org.apache.sqoop.sqooploadmainsqoopfail.pdf Can you please share your thoughts please. Thank you.
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Apache Sqoop
-
Apache YARN
04-26-2016
03:07 PM
Hi Jitendra, I am expecting the same error, after following these commands. Can you please review once. The actuall error I am getting is Could not find or load main org.apache.sqoop.sqoop
I ran this as adminstrator
runas /user:administrator mklink C:\hadoop\hdp\hadoop-2.7.1.2.4.0.0-169\share\hadoop\yarn\hadoop-yarn-api-2.7.1.2.4.0.0-169.jar C:\hadoop\hdp\sqoop-1.4.6.2.4.0.0-169\lib\hadoop-yarn-api-2.7.1.2.4.0.0-169.jar C:\hadoop\hdp\sqoop-1.4.6.2.4.0.0-169\lib
Set Yarn path (Attched the jpg)
set sqoop path (attached the jpg)
Executed the sqoop command after checking the classpath but getting the same error
Could not find or load main org.apache.sqoop.sqooploadmainsqoopfail.pdf
... View more
04-25-2016
08:22 PM
Jithedra is it able to contact me? I am able to share the details. Please let me know. fnu.rasool@gmail.com Thanks, Rasool.
... View more
04-25-2016
07:40 PM
Yes. Its was SQOOP_HOME=C:\hdp\sqoop-1.4.6.2.4.0.0-169 I changed to SQOOP_HOME=C:\hdp but no luck.
... View more
04-25-2016
07:17 PM
Both jars are not same? Do I need to copy the second jar? hadoop-yarn-api-2.7.1.2.4.0.0-169 / hadoop-yarn-api.jar
... View more
04-25-2016
07:15 PM
Hi, I checked all the paths and all set. But its giving this exception. not sure what jar is missing? Exception in thread "main"
java.lang.NoClassDefFoundError: org/apache/hadoop/yarn/exceptions/YarnException
at org.apache.hadoop.mapred.YarnClientProtocolProvider.create(YarnClientProtocolProvider.java:34)
at org.apache.hadoop.mapreduce.Cluster.initialize(Cluster.java:95)
at org.apache.hadoop.mapreduce.Cluster.<init>(Cluster.java:82)
at org.apache.hadoop.mapreduce.Cluster.<init>(Cluster.java:75)
at org.apache.hadoop.mapreduce.Job$9.run(Job.java:1260)
at org.apache.hadoop.mapreduce.Job$9.run(Job.java:1256)
at java.security.AccessController.doPrivileged(Native
Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
at org.apache.hadoop.mapreduce.Job.connect(Job.java:1255)
at org.apache.hadoop.mapreduce.Job.submit(Job.java:1284)
at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1308)
at org.apache.sqoop.mapreduce.ImportJobBase.doSubmitJob(ImportJobBase.java:196)
at org.apache.sqoop.mapreduce.ImportJobBase.runJob(ImportJobBase.java:169)
at org.apache.sqoop.mapreduce.ImportJobBase.runImport(ImportJobBase.java:266)
at org.apache.sqoop.manager.SqlManager.importTable(SqlManager.java:673)
at org.apache.sqoop.manager.OracleManager.importTable(OracleManager.java:444)
at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:497)
at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:605)
at org.apache.sqoop.Sqoop.run(Sqoop.java:148)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:184)
at org.apache.sqoop.Sqoop.runTool(Sqoop.java:226)
at org.apache.sqoop.Sqoop.runTool(Sqoop.java:235)
at org.apache.sqoop.Sqoop.main(Sqoop.java:244)
Caused by: java.lang.ClassNotFoundException:
org.apache.hadoop.yarn.exceptions.YarnException
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native
Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
... View more
04-25-2016
07:07 PM
Yadav, The first jar is hadoop-yarn-api-2.7.1.2.4.0.0-169 Can you please review the jpg. Thank you.
... View more
04-25-2016
07:01 PM
I checked the jars and its available. Please review the attached copy. -thanks,hadoopyarncommonjars.jpg
... View more
04-25-2016
06:29 PM
jars.txt I have attached all the jars text copy also for your reference. Could you please let me know what jars are missing and need to update to execute the job?
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Apache Sqoop
04-21-2016
07:13 PM
Thank you Ravi. Do you think, I need to change core-site.xml file also? please suggest. thanks
... View more
04-21-2016
05:59 PM
hfds-site-xml.txtnamenode-fail.jpg Hello, Namenode is failiting to start on HADP with windows environment. I have attached the error message with hfds-site xml.txt. docuement. Can anyone please provide where we need to change the properties and update the Xml file?
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Apache Sqoop
03-30-2016
06:18 PM
We installed HDP 2.4 on windows server for Pilot project to analyze the execution.
We have oracle tables/data to export on Hive and check the operation.
For that, I need to install the Hcatalog or any other interface to use Hive on HDP 2.4 with windows server installation.
I didnt able to find Hcatalog due to its not Linux on command prompt.
Please advise.
... View more
03-29-2016
06:53 PM
Hello, I am looking Hcatalog software for HDP 2.4 Sandbox
installation (on Windows NT OS). Can anyone please chime the software details? When
I look for the details, It's giving for Linux/Unix related not with Windows. Please advise. Thank you,
... View more
Labels:
- Labels:
-
Apache HCatalog