[jira] [Updated] (HDFS-9858) RollingFileSystemSink can throw an NPE on non-secure clusters

2016-02-25 Thread Karthik Kambatla (JIRA)

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

Karthik Kambatla updated HDFS-9858:
---
   Resolution: Fixed
 Hadoop Flags: Reviewed
Fix Version/s: 2.9.0
   Status: Resolved  (was: Patch Available)

> RollingFileSystemSink can throw an NPE on non-secure clusters
> -
>
> Key: HDFS-9858
> URL: https://issues.apache.org/jira/browse/HDFS-9858
> Project: Hadoop HDFS
>  Issue Type: Bug
>Affects Versions: 2.9.0
>Reporter: Daniel Templeton
>Assignee: Daniel Templeton
> Fix For: 2.9.0
>
> Attachments: HADOOP-12835.001.patch, HDFS-9858.002.patch
>
>
> If the sink init fails (such as because the HDFS cluster isn't running) on a 
> non-secure cluster, the init will throw an NPE because of missing properties.



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


[jira] [Updated] (HDFS-9858) RollingFileSystemSink can throw an NPE on non-secure clusters

2016-02-25 Thread Daniel Templeton (JIRA)

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

Daniel Templeton updated HDFS-9858:
---
Attachment: (was: HDFS-9858.002.patch)

> RollingFileSystemSink can throw an NPE on non-secure clusters
> -
>
> Key: HDFS-9858
> URL: https://issues.apache.org/jira/browse/HDFS-9858
> Project: Hadoop HDFS
>  Issue Type: Bug
>Affects Versions: 2.9.0
>Reporter: Daniel Templeton
>Assignee: Daniel Templeton
> Attachments: HADOOP-12835.001.patch, HDFS-9858.002.patch
>
>
> If the sink init fails (such as because the HDFS cluster isn't running) on a 
> non-secure cluster, the init will throw an NPE because of missing properties.



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


[jira] [Updated] (HDFS-9858) RollingFileSystemSink can throw an NPE on non-secure clusters

2016-02-25 Thread Daniel Templeton (JIRA)

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

Daniel Templeton updated HDFS-9858:
---
Attachment: HDFS-9858.002.patch

Tweaking the last patch a little...

> RollingFileSystemSink can throw an NPE on non-secure clusters
> -
>
> Key: HDFS-9858
> URL: https://issues.apache.org/jira/browse/HDFS-9858
> Project: Hadoop HDFS
>  Issue Type: Bug
>Affects Versions: 2.9.0
>Reporter: Daniel Templeton
>Assignee: Daniel Templeton
> Attachments: HADOOP-12835.001.patch, HDFS-9858.002.patch
>
>
> If the sink init fails (such as because the HDFS cluster isn't running) on a 
> non-secure cluster, the init will throw an NPE because of missing properties.



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


[jira] [Updated] (HDFS-9858) RollingFileSystemSink can throw an NPE on non-secure clusters

2016-02-25 Thread Daniel Templeton (JIRA)

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

Daniel Templeton updated HDFS-9858:
---
Attachment: (was: HDFS-9858.002.patch)

> RollingFileSystemSink can throw an NPE on non-secure clusters
> -
>
> Key: HDFS-9858
> URL: https://issues.apache.org/jira/browse/HDFS-9858
> Project: Hadoop HDFS
>  Issue Type: Bug
>Affects Versions: 2.9.0
>Reporter: Daniel Templeton
>Assignee: Daniel Templeton
> Attachments: HADOOP-12835.001.patch, HDFS-9858.002.patch
>
>
> If the sink init fails (such as because the HDFS cluster isn't running) on a 
> non-secure cluster, the init will throw an NPE because of missing properties.



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


[jira] [Updated] (HDFS-9858) RollingFileSystemSink can throw an NPE on non-secure clusters

2016-02-25 Thread Daniel Templeton (JIRA)

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

Daniel Templeton updated HDFS-9858:
---
Attachment: HDFS-9858.002.patch

> RollingFileSystemSink can throw an NPE on non-secure clusters
> -
>
> Key: HDFS-9858
> URL: https://issues.apache.org/jira/browse/HDFS-9858
> Project: Hadoop HDFS
>  Issue Type: Bug
>Affects Versions: 2.9.0
>Reporter: Daniel Templeton
>Assignee: Daniel Templeton
> Attachments: HADOOP-12835.001.patch, HDFS-9858.002.patch
>
>
> If the sink init fails (such as because the HDFS cluster isn't running) on a 
> non-secure cluster, the init will throw an NPE because of missing properties.



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


[jira] [Updated] (HDFS-9858) RollingFileSystemSink can throw an NPE on non-secure clusters

2016-02-25 Thread Daniel Templeton (JIRA)

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

Daniel Templeton updated HDFS-9858:
---
Attachment: HDFS-9858.002.patch

Here's an updated patch that includes a test for the fix.

> RollingFileSystemSink can throw an NPE on non-secure clusters
> -
>
> Key: HDFS-9858
> URL: https://issues.apache.org/jira/browse/HDFS-9858
> Project: Hadoop HDFS
>  Issue Type: Bug
>Affects Versions: 2.9.0
>Reporter: Daniel Templeton
>Assignee: Daniel Templeton
> Attachments: HADOOP-12835.001.patch, HDFS-9858.002.patch
>
>
> If the sink init fails (such as because the HDFS cluster isn't running) on a 
> non-secure cluster, the init will throw an NPE because of missing properties.



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