Github user rajeshcode commented on the issue:

    https://github.com/apache/spark/pull/17342
  
    Patching this to spark-2.1.0 , had several issues ..
    java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.hadoop.hdfs.BlockReaderFactory
            at 
org.apache.hadoop.hdfs.DFSInputStream.blockSeekTo(DFSInputStream.java:618)
            at 
org.apache.hadoop.hdfs.DFSInputStream.readWithStrategy(DFSInputStream.java:844)
            at 
org.apache.hadoop.hdfs.DFSInputStream.read(DFSInputStream.java:896)
            at java.io.DataInputStream.read(DataInputStream.java:100)
            at org.apache.hadoop.io.IOUtils.copyBytes(IOUtils.java:85)
            at org.apache.hadoop.io.IOUtils.copyBytes(IOUtils.java:59)
            at org.apache.hadoop.io.IOUtils.copyBytes(IOUtils.java:119)
            at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:366)
            at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:338)
            at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:289)
            at 
org.apache.hadoop.fs.FileSystem.copyToLocalFile(FileSystem.java:2030)
            at 
org.apache.hadoop.fs.FileSystem.copyToLocalFile(FileSystem.java:1999)
            at 
org.apache.hadoop.fs.FileSystem.copyToLocalFile(FileSystem.java:1975)
            at 
org.apache.hadoop.hive.ql.session.SessionState.downloadResource(SessionState.java:1274)
            at 
org.apache.hadoop.hive.ql.session.SessionState.resolveAndDownload(SessionState.java:1242)
            at 
org.apache.hadoop.hive.ql.session.SessionState.add_resources(SessionState.java:1163)
            at 
org.apache.hadoop.hive.ql.session.SessionState.add_resources(SessionState.java:1149)
            at 
org.apache.hadoop.hive.ql.processors.AddResourceProcessor.run(AddResourceProcessor.java:67)
            at 
org.apache.spark.sql.hive.client.HiveClientImpl$$anonfun$runHive$1.apply(HiveClientImpl.scala:633)
            at 
org.apache.spark.sql.hive.client.HiveClientImpl$$anonfun$runHive$1.apply(HiveClientImpl.scala:602)
            at 
org.apache.spark.sql.hive.client.HiveClientImpl$$anonfun$withHiveState$1.apply(HiveClientImpl.scala:287...
    ....
            at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
    java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.hadoop.hdfs.BlockReaderFactory
            at 
org.apache.hadoop.hdfs.DFSInputStream.blockSeekTo(DFSInputStream.java:618)
            at 
org.apache.hadoop.hdfs.DFSInputStream.readWithStrategy(DFSInputStream.java:844)
            at 
org.apache.hadoop.hdfs.DFSInputStream.read(DFSInputStream.java:896)
            at java.io.DataInputStream.read(DataInputStream.java:100)
            at org.apache.hadoop.io.IOUtils.copyBytes(IOUtils.java:85)
            at org.apache.hadoop.io.IOUtils.copyBytes(IOUtils.java:59)
            at org.apache.hadoop.io.IOUtils.copyBytes(IOUtils.java:119)
            at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:366)


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to