carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venkata Ramana G (JIRA)" <>
Subject [jira] [Resolved] (CARBONDATA-1277) Dictionary generation failure if there is failure in closing output stream in HDFS
Date Tue, 11 Jul 2017 12:34:00 GMT


Venkata Ramana G resolved CARBONDATA-1277.
    Resolution: Fixed

> Dictionary generation failure if there is failure in closing output stream in HDFS
> ----------------------------------------------------------------------------------
>                 Key: CARBONDATA-1277
>                 URL:
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Manish Gupta
>            Assignee: Manish Gupta
>             Fix For: 1.2.0
>          Time Spent: 2h 40m
>  Remaining Estimate: 0h
> 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