[jira] [Updated] (CASSANDRA-8581) Null pointer in cassandra.hadoop.ColumnFamilyRecoderWriter

2015-12-04 Thread Joshua McKenzie (JIRA)

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

Joshua McKenzie updated CASSANDRA-8581:
---
Reviewer: Philip Thompson

> Null pointer in cassandra.hadoop.ColumnFamilyRecoderWriter
> --
>
> Key: CASSANDRA-8581
> URL: https://issues.apache.org/jira/browse/CASSANDRA-8581
> Project: Cassandra
>  Issue Type: Bug
>Reporter: xiangdong Huang
>Assignee: Brandon Williams
>  Labels: hadoop
> Fix For: 2.1.x
>
> Attachments: difference, 屏幕快照 2015-01-08 下午7.59.29.png, 屏幕快照 
> 2015-01-08 下午8.01.15.png, 屏幕快照 2015-01-08 下午8.07.23.png
>
>
> When I run examples/hadoop_word_count. I find that ReducerToFilesystem is 
> correct but when I use ReducerToCassandra, the program will call loadYaml().
> The reason is that the program catch a exception at line 196 of 
> ColumnFamilyRecoderWriter.java. 
> Then it check why the exception occur, then it loadYaml to check if the disk 
> is broken...
> However, the exception is NullPointerException. because the client is not 
> initialized.
>  
> So we need a check to judge whether the client is null. 
> (
> The exception, original code and fixed code are in the attachments.
> )



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


[jira] [Updated] (CASSANDRA-8581) Null pointer in cassandra.hadoop.ColumnFamilyRecoderWriter

2015-03-23 Thread xiangdong Huang (JIRA)

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

xiangdong Huang updated CASSANDRA-8581:
---
Attachment: difference

my patch to fix NullPointer exception

 Null pointer in cassandra.hadoop.ColumnFamilyRecoderWriter
 --

 Key: CASSANDRA-8581
 URL: https://issues.apache.org/jira/browse/CASSANDRA-8581
 Project: Cassandra
  Issue Type: Bug
  Components: Hadoop
Reporter: xiangdong Huang
Assignee: Brandon Williams
  Labels: hadoop
 Fix For: 2.1.4

 Attachments: difference, 屏幕快照 2015-01-08 下午7.59.29.png, 屏幕快照 
 2015-01-08 下午8.01.15.png, 屏幕快照 2015-01-08 下午8.07.23.png


 When I run examples/hadoop_word_count. I find that ReducerToFilesystem is 
 correct but when I use ReducerToCassandra, the program will call loadYaml().
 The reason is that the program catch a exception at line 196 of 
 ColumnFamilyRecoderWriter.java. 
 Then it check why the exception occur, then it loadYaml to check if the disk 
 is broken...
 However, the exception is NullPointerException. because the client is not 
 initialized.
  
 So we need a check to judge whether the client is null. 
 (
 The exception, original code and fixed code are in the attachments.
 )



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


[jira] [Updated] (CASSANDRA-8581) Null pointer in cassandra.hadoop.ColumnFamilyRecoderWriter

2015-01-08 Thread Philip Thompson (JIRA)

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

Philip Thompson updated CASSANDRA-8581:
---
Reproduced In: 2.1.2
Fix Version/s: 2.1.3

 Null pointer in cassandra.hadoop.ColumnFamilyRecoderWriter
 --

 Key: CASSANDRA-8581
 URL: https://issues.apache.org/jira/browse/CASSANDRA-8581
 Project: Cassandra
  Issue Type: Bug
  Components: Hadoop
Reporter: xiangdong Huang
  Labels: hadoop
 Fix For: 2.1.3

 Attachments: 屏幕快照 2015-01-08 下午7.59.29.png, 屏幕快照 2015-01-08 
 下午8.01.15.png, 屏幕快照 2015-01-08 下午8.07.23.png


 When I run examples/hadoop_word_count. I find that ReducerToFilesystem is 
 correct but when I use ReducerToCassandra, the program will call loadYaml().
 The reason is that the program catch a exception at line 196 of 
 ColumnFamilyRecoderWriter.java. 
 Then it check why the exception occur, then it loadYaml to check if the disk 
 is broken...
 However, the exception is NullPointerException. because the client is not 
 initialized.
  
 So we need a check to judge whether the client is null. 
 (
 The exception, original code and fixed code are in the attachments.
 )



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


[jira] [Updated] (CASSANDRA-8581) Null pointer in cassandra.hadoop.ColumnFamilyRecoderWriter

2015-01-08 Thread Philip Thompson (JIRA)

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

Philip Thompson updated CASSANDRA-8581:
---
  Tester: Philip Thompson
Assignee: Brandon Williams

 Null pointer in cassandra.hadoop.ColumnFamilyRecoderWriter
 --

 Key: CASSANDRA-8581
 URL: https://issues.apache.org/jira/browse/CASSANDRA-8581
 Project: Cassandra
  Issue Type: Bug
  Components: Hadoop
Reporter: xiangdong Huang
Assignee: Brandon Williams
  Labels: hadoop
 Fix For: 2.1.3

 Attachments: 屏幕快照 2015-01-08 下午7.59.29.png, 屏幕快照 2015-01-08 
 下午8.01.15.png, 屏幕快照 2015-01-08 下午8.07.23.png


 When I run examples/hadoop_word_count. I find that ReducerToFilesystem is 
 correct but when I use ReducerToCassandra, the program will call loadYaml().
 The reason is that the program catch a exception at line 196 of 
 ColumnFamilyRecoderWriter.java. 
 Then it check why the exception occur, then it loadYaml to check if the disk 
 is broken...
 However, the exception is NullPointerException. because the client is not 
 initialized.
  
 So we need a check to judge whether the client is null. 
 (
 The exception, original code and fixed code are in the attachments.
 )



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


[jira] [Updated] (CASSANDRA-8581) Null pointer in cassandra.hadoop.ColumnFamilyRecoderWriter

2015-01-08 Thread Philip Thompson (JIRA)

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

Philip Thompson updated CASSANDRA-8581:
---
Tester:   (was: Philip Thompson)

 Null pointer in cassandra.hadoop.ColumnFamilyRecoderWriter
 --

 Key: CASSANDRA-8581
 URL: https://issues.apache.org/jira/browse/CASSANDRA-8581
 Project: Cassandra
  Issue Type: Bug
  Components: Hadoop
Reporter: xiangdong Huang
Assignee: Brandon Williams
  Labels: hadoop
 Fix For: 2.1.3

 Attachments: 屏幕快照 2015-01-08 下午7.59.29.png, 屏幕快照 2015-01-08 
 下午8.01.15.png, 屏幕快照 2015-01-08 下午8.07.23.png


 When I run examples/hadoop_word_count. I find that ReducerToFilesystem is 
 correct but when I use ReducerToCassandra, the program will call loadYaml().
 The reason is that the program catch a exception at line 196 of 
 ColumnFamilyRecoderWriter.java. 
 Then it check why the exception occur, then it loadYaml to check if the disk 
 is broken...
 However, the exception is NullPointerException. because the client is not 
 initialized.
  
 So we need a check to judge whether the client is null. 
 (
 The exception, original code and fixed code are in the attachments.
 )



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