hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11275) Check groupEntryIndex and throw a helpful exception on failures when removing ACL.
Date Thu, 29 Dec 2016 19:12:58 GMT

    [ https://issues.apache.org/jira/browse/HDFS-11275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15785907#comment-15785907
] 

Hudson commented on HDFS-11275:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11056 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/11056/])
HDFS-11275. Check groupEntryIndex and throw a helpful exception on (xiao: rev e76995755629579c7f83fbb417afde20ea747980)
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirAclOp.java


> Check groupEntryIndex and throw a helpful exception on failures when removing ACL.
> ----------------------------------------------------------------------------------
>
>                 Key: HDFS-11275
>                 URL: https://issues.apache.org/jira/browse/HDFS-11275
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>            Reporter: Xiao Chen
>            Assignee: Xiao Chen
>             Fix For: 3.0.0-alpha2
>
>         Attachments: HDFS-11275.01.patch
>
>
> We only have the logs to the exception but not the metadata, so hard to reproduce. The
log is:
> {noformat}
> ERROR org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader: Encountered exception on
operation org.apache.hadoop.hdfs.server.namenode.FSEditLogOp$SetAclOp@7aad3f7d 
> java.lang.IndexOutOfBoundsException: index (-4) must not be negative 
> at com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:301) 
> at com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:280) 
> at com.google.common.collect.RegularImmutableList.get(RegularImmutableList.java:91) 
> at org.apache.hadoop.hdfs.server.namenode.AclStorage.removeINodeAcl(AclStorage.java:267)

> at org.apache.hadoop.hdfs.server.namenode.FSDirectory.unprotectedRemoveAcl(FSDirectory.java:2720)

> at org.apache.hadoop.hdfs.server.namenode.FSDirectory.unprotectedSetAcl(FSDirectory.java:2737)

> at org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.applyEditLogOp(FSEditLogLoader.java:827)

> at org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.loadEditRecords(FSEditLogLoader.java:231)

> at org.apache.hadoop.hdfs.server.namenode.FSEditLogLoader.loadFSEdits(FSEditLogLoader.java:140)

> at org.apache.hadoop.hdfs.server.namenode.FSImage.loadEdits(FSImage.java:846) 
> {noformat}
> Let's use this jira to add more information to the exception, to hopefully help the next
reoccurrence. (Have not failed again in the past week)



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message