Giovanni Ruggiero created SQOOP-542:
---------------------------------------

             Summary: Error in importing data in Avro format
                 Key: SQOOP-542
                 URL: https://issues.apache.org/jira/browse/SQOOP-542
             Project: Sqoop
          Issue Type: Bug
    Affects Versions: 1.4.1-incubating, 1.4.2
         Environment: Mac Os X 10.7
Sqoop: sqoop-1.4.2-incubating-SNAPSHOT.jar(built from trunk with 
-Dhadoopversion=20)
Hadoop: hadoop-0.20.2-cdh3u4
            Reporter: Giovanni Ruggiero


When performing an import as avro datafile, Sqoop fails with the following 
exception:
{code}
Error: java.lang.ClassNotFoundException: org.apache.avro.io.DatumWriter
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:247)
        at 
org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:951)
        at 
org.apache.hadoop.conf.Configuration.getClass(Configuration.java:1002)
        at 
org.apache.hadoop.mapreduce.JobContext.getOutputFormatClass(JobContext.java:253)
        at org.apache.hadoop.mapred.Task.initialize(Task.java:509)
        at org.apache.hadoop.mapred.MapTask.run(MapTask.java:306)
        at org.apache.hadoop.mapred.Child$4.run(Child.java:270)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security
attempt_201208071052_0007_m_000004_2: 2012-08-07 13:51:05.324 java[8527:1903] 
Unable to load realm info from SCDynamicStore
{code} 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to