[
https://issues.apache.org/jira/browse/HDFS-13836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16606561#comment-16606561
]
Hudson commented on HDFS-13836:
-------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14892 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/14892/])
HDFS-13836. RBF: Handle mount table znode with null value. Contributed
(inigoiri: rev 527288ef891dc26019d003bd85ddfd50eb4f3b7b)
* (edit)
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/curator/ZKCuratorManager.java
* (edit)
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/util/curator/TestZKCuratorManager.java
* (edit)
hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/store/driver/TestStateStoreZK.java
> RBF: Handle mount table znode with null value
> ---------------------------------------------
>
> Key: HDFS-13836
> URL: https://issues.apache.org/jira/browse/HDFS-13836
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: federation, hdfs
> Affects Versions: 3.1.0
> Reporter: yanghuafeng
> Assignee: yanghuafeng
> Priority: Major
> Fix For: 2.9.0, 2.10.0, 3.2.0, 3.0.4, 3.1.2
>
> Attachments: HDFS-13836.001.patch, HDFS-13836.002.patch,
> HDFS-13836.003.patch, HDFS-13836.004.patch, HDFS-13836.005.patch
>
>
> When we are adding the mounttable entry, the router sever is terminated.
> Some error messages show in log, as follow:
> 2018-08-20 14:18:32,404 ERROR
> org.apache.hadoop.hdfs.server.federation.store.driver.impl.StateStoreZooKeeperImpl:
> Cannot get data for 0SLASH0testzk: null.
> The reason is that router server have created the znode but not to set data
> before being terminated. But the method zkManager.getStringData(path, stat)
> will throw NPE if the path has null value in the StateStoreZooKeeperImpl,
> leading to fail in adding the same mounttable entry and deleting the existing
> znode.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]