[jira] [Created] (HADOOP-13635) Replace Hadoop Common crypto code with Apache Commons Crypto

2016-09-21 Thread Robert Yokota (JIRA)
Robert Yokota created HADOOP-13635:
--

 Summary: Replace Hadoop Common crypto code with Apache Commons 
Crypto
 Key: HADOOP-13635
 URL: https://issues.apache.org/jira/browse/HADOOP-13635
 Project: Hadoop Common
  Issue Type: Improvement
  Components: security
Reporter: Robert Yokota
Priority: Minor


Look into replacing the crypto code in Hadoop Common with Apache Commons Crypto.



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

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-12717) NPE when trying to rename a directory in Windows Azure Storage FileSystem

2016-01-26 Thread Robert Yokota (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-12717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15117952#comment-15117952
 ] 

Robert Yokota commented on HADOOP-12717:


The copy-to param was of the form 
wasbs://@.blob.core.windows.net.

I had to workaround the NPE by specifying "snapshot.export.skip.tmp" as "true", 
to avoid the code path that tries to do a rename.

> 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
> Attachments: 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)


[jira] [Commented] (HADOOP-12717) NPE when trying to rename a directory in Windows Azure Storage FileSystem

2016-01-26 Thread Robert Yokota (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-12717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15117996#comment-15117996
 ] 

Robert Yokota commented on HADOOP-12717:


Or rather wasbs://@.blob.core.windows.net/

> 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
> Attachments: 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)


[jira] [Created] (HADOOP-12717) NPE when trying to rename a directory in Windows Azure Storage FileSystem

2016-01-15 Thread Robert Yokota (JIRA)
Robert Yokota created HADOOP-12717:
--

 Summary: 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
 Attachments: 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)


[jira] [Updated] (HADOOP-12717) NPE when trying to rename a directory in Windows Azure Storage FileSystem

2016-01-15 Thread Robert Yokota (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-12717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Yokota updated HADOOP-12717:
---
Attachment: diff.txt

> 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
> Attachments: 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)