[
https://issues.apache.org/jira/browse/HADOOP-12717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15181601#comment-15181601
]
Hudson commented on HADOOP-12717:
---------------------------------
FAILURE: Integrated in Hadoop-trunk-Commit #9427 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/9427/])
HADOOP-12717. NPE when trying to rename a directory in Windows Azure (cnauroth:
rev c50aad0f854b74ede9668e35db314b0a93be81b2)
*
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azure/AzureNativeFileSystemStore.java
*
hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azure/TestNativeAzureFileSystemAtomicRenameDirList.java
> NPE when trying to rename a directory in Windows Azure Storage FileSystem
> -------------------------------------------------------------------------
>
> Key: HADOOP-12717
> URL: https://issues.apache.org/jira/browse/HADOOP-12717
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 2.7.0
> Reporter: Robert Yokota
> Assignee: Robert Yokota
> Priority: Blocker
> Fix For: 2.8.0
>
> Attachments: HADOOP-12717.001.patch, HADOOP-12717.004.patch,
> HADOOP-12717.02.patch, HADOOP-12717.03.patch, diff.txt
>
>
> Encountered an NPE when trying to use the HBase utility ExportSnapshot with
> Azure as the target.
> It turns out verifyAndConvertToStandardFormat is returning null when
> determining the hbaseRoot, and this is being added to the atomicRenameDirs
> set.
> java.lang.NullPointerException
> at
> org.apache.hadoop.fs.azure.AzureNativeFileSystemStore.isKeyForDirectorySet(AzureNativeFileSystemStore.java:1059)
> at
> org.apache.hadoop.fs.azure.AzureNativeFileSystemStore.isAtomicRenameKey(AzureNativeFileSystemStore.java:1053)
> at
> org.apache.hadoop.fs.azure.NativeAzureFileSystem.prepareAtomicFolderRename(NativeAzureFileSystem.java:2098)
> at
> org.apache.hadoop.fs.azure.NativeAzureFileSystem.rename(NativeAzureFileSystem.java:1996)
> at
> org.apache.hadoop.hbase.snapshot.ExportSnapshot.run(ExportSnapshot.java:944)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
> at
> com.yammer.calmie.snapshot.AbstractSnapshotUtil.exportSnapshot(AbstractSnapshotUtil.java:210)
> at
> com.yammer.calmie.snapshot.AbstractSnapshotUtil.run(AbstractSnapshotUtil.java:79)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
> at
> com.yammer.calmie.snapshot.SnapshotAzureBlobUtil.main(SnapshotAzureBlobUtil.java:85)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)