carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manish Gupta (JIRA)" <>
Subject [jira] [Created] (CARBONDATA-1277) Dictionary generation failure if there is failure in closing output steam in HDFS
Date Sat, 08 Jul 2017 10:15:00 GMT
Manish Gupta created CARBONDATA-1277:

             Summary: Dictionary generation failure if there is failure in closing output
steam in HDFS
                 Key: CARBONDATA-1277
             Project: CarbonData
          Issue Type: Bug
            Reporter: Manish Gupta
            Assignee: Manish Gupta
             Fix For: 1.2.0

If there is any failure while closing the output stream of dictionary file in HDFS then on
next data load, update or insert into operation dictionary generation fails. This is because
we open the dictionary file in append mode and when we try to get the output stream for that
file HDFS throws an exception that Lease is already acquired by some other client. Exception
trace as below. Failed to APPEND_FILE /user/hive/warehouse/
for DFSClient_NONMAPREDUCE_-1904161438_159 on because lease recovery is in
progress. Try again later.
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.recoverLeaseInternal(
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.appendFileInternal(
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.appendFileInt(
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.appendFile(
at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.append(
at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.append(
at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(
at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$

This message was sent by Atlassian JIRA

View raw message