carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Babulal (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CARBONDATA-595) Drop Table for carbon throws NPE with HDFS lock type.
Date Wed, 04 Jan 2017 15:17:58 GMT
Babulal created CARBONDATA-595:
----------------------------------

             Summary: Drop Table for carbon throws NPE with HDFS lock type.
                 Key: CARBONDATA-595
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-595
             Project: CarbonData
          Issue Type: Bug
    Affects Versions: 0.2.0-incubating
            Reporter: Babulal
            Priority: Minor


Start version :- 1.6.2 
Start carbon thrift server
set HDFS LOCK Type

drop table from beeline
0: jdbc:hive2://hacluster> drop table oscon_new_1;
Error: java.lang.NullPointerException (state=,code=0)

Error in thrftserver 

17/01/04 20:40:08 AUDIT DropTableCommand: [hadoop-master][anonymous][Thread-182]Deleted table
[oscon_new_1] under database [default]
17/01/04 20:40:08 ERROR AbstractDFSCarbonFile: pool-25-thread-12 Exception occured:File does
not exist: hdfs://hacluster/opt/CarbonStore/default/oscon_new_1/droptable.lock
17/01/04 20:40:08 ERROR SparkExecuteStatementOperation: Error executing query, currentState
RUNNING,
java.lang.NullPointerException
        at org.apache.carbondata.core.datastorage.store.filesystem.AbstractDFSCarbonFile.delete(AbstractDFSCarbonFile.java:128)
        at org.apache.carbondata.lcm.locks.HdfsFileLock.unlock(HdfsFileLock.java:110)
        at org.apache.spark.sql.execution.command.DropTableCommand.run(carbonTableSchema.scala:613)
        at org.apache.spark.sql.execution.ExecutedCommand.sideEffectResult$lzycompute(commands.scala:58)
        at org.apache.spark.sql.execution.ExecutedCommand.sideEffectResult(commands.scala:56)



Note :- lock file and data are deleted successfully but in beeline it throws ERROR message
instead of success. 




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message