[jira] [Updated] (PIG-3058) Upgrade junit to at least 4.8

2012-11-21 Thread fang fang chen (JIRA)

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

fang fang chen updated PIG-3058:


Attachment: (was: PIG-3058-trunk.patch)

> Upgrade junit to at least 4.8
> -
>
> Key: PIG-3058
> URL: https://issues.apache.org/jira/browse/PIG-3058
> Project: Pig
>  Issue Type: Bug
>  Components: build
>Affects Versions: 0.11
>Reporter: fang fang chen
>Assignee: fang fang chen
> Fix For: 0.11, 0.12
>
> Attachments: PIG-3058.patch
>
>
> Pig needs to upgrade junit version to at least 4.8. Otherwise, one gets 
> following warnings.
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestWALPlayer.class(org/apache/hadoop/hbase/mapreduce:TestWALPlayer.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category': class file for 
> org.junit.experimental.categories.Category not found

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (PIG-3058) Upgrade junit to at least 4.8

2012-11-21 Thread fang fang chen (JIRA)

[ 
https://issues.apache.org/jira/browse/PIG-3058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502601#comment-13502601
 ] 

fang fang chen commented on PIG-3058:
-

Thanks Rohini. Updated the patch.

> Upgrade junit to at least 4.8
> -
>
> Key: PIG-3058
> URL: https://issues.apache.org/jira/browse/PIG-3058
> Project: Pig
>  Issue Type: Bug
>  Components: build
>Affects Versions: 0.11
>Reporter: fang fang chen
>Assignee: fang fang chen
> Fix For: 0.11, 0.12
>
> Attachments: PIG-3058.patch
>
>
> Pig needs to upgrade junit version to at least 4.8. Otherwise, one gets 
> following warnings.
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestWALPlayer.class(org/apache/hadoop/hbase/mapreduce:TestWALPlayer.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category': class file for 
> org.junit.experimental.categories.Category not found

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (PIG-3058) Upgrade junit to at least 4.8

2012-11-21 Thread fang fang chen (JIRA)

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

fang fang chen updated PIG-3058:


Attachment: PIG-3058.patch

> Upgrade junit to at least 4.8
> -
>
> Key: PIG-3058
> URL: https://issues.apache.org/jira/browse/PIG-3058
> Project: Pig
>  Issue Type: Bug
>  Components: build
>Affects Versions: 0.11
>Reporter: fang fang chen
>Assignee: fang fang chen
> Fix For: 0.11, 0.12
>
> Attachments: PIG-3058.patch
>
>
> Pig needs to upgrade junit version to at least 4.8. Otherwise, one gets 
> following warnings.
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestWALPlayer.class(org/apache/hadoop/hbase/mapreduce:TestWALPlayer.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category': class file for 
> org.junit.experimental.categories.Category not found

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (PIG-3058) Upgrade junit to at least 4.8

2012-11-21 Thread Rohini Palaniswamy (JIRA)

[ 
https://issues.apache.org/jira/browse/PIG-3058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502576#comment-13502576
 ] 

Rohini Palaniswamy commented on PIG-3058:
-

[~fang fang chen],
  You would also have to change junit version in .eclipse.templates/.classpath.

> Upgrade junit to at least 4.8
> -
>
> Key: PIG-3058
> URL: https://issues.apache.org/jira/browse/PIG-3058
> Project: Pig
>  Issue Type: Bug
>  Components: build
>Affects Versions: 0.11
>Reporter: fang fang chen
>Assignee: fang fang chen
> Fix For: 0.11, 0.12
>
> Attachments: PIG-3058-trunk.patch
>
>
> Pig needs to upgrade junit version to at least 4.8. Otherwise, one gets 
> following warnings.
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestWALPlayer.class(org/apache/hadoop/hbase/mapreduce:TestWALPlayer.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category': class file for 
> org.junit.experimental.categories.Category not found

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (PIG-3058) Upgrade junit to at least 4.8

2012-11-21 Thread Cheolsoo Park (JIRA)

[ 
https://issues.apache.org/jira/browse/PIG-3058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502552#comment-13502552
 ] 

Cheolsoo Park commented on PIG-3058:


I put up a patch for the failing test cases in PIG-3066.

> Upgrade junit to at least 4.8
> -
>
> Key: PIG-3058
> URL: https://issues.apache.org/jira/browse/PIG-3058
> Project: Pig
>  Issue Type: Bug
>  Components: build
>Affects Versions: 0.11
>Reporter: fang fang chen
>Assignee: fang fang chen
> Fix For: 0.11, 0.12
>
> Attachments: PIG-3058-trunk.patch
>
>
> Pig needs to upgrade junit version to at least 4.8. Otherwise, one gets 
> following warnings.
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestWALPlayer.class(org/apache/hadoop/hbase/mapreduce:TestWALPlayer.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category': class file for 
> org.junit.experimental.categories.Category not found

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (PIG-3066) Fix TestPigRunner in trunk

2012-11-21 Thread Cheolsoo Park (JIRA)

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

Cheolsoo Park updated PIG-3066:
---

Status: Patch Available  (was: Open)

> Fix TestPigRunner in trunk
> --
>
> Key: PIG-3066
> URL: https://issues.apache.org/jira/browse/PIG-3066
> Project: Pig
>  Issue Type: Bug
>Affects Versions: 0.12
>Reporter: Cheolsoo Park
>Assignee: Cheolsoo Park
> Fix For: 0.12
>
> Attachments: PIG-3066.patch
>
>
> This is a regression from PIG-2924. The size of output in PigStats used to be 
> off by 1 byte per store, but that was fixed by PIG-2924. However, two test 
> cases in {{TestPigRunner}} wasn't corrected, so they fail in trunk.
> The reason why the size of output in PigStats were off by 1 byte per store is 
> because the size variable was initialized by -1 instead of 0.
> {code}
> long bytes = -1;
> ...
> bytes += status.getLen();
> ...
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (PIG-3066) Fix TestPigRunner in trunk

2012-11-21 Thread Cheolsoo Park (JIRA)

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

Cheolsoo Park updated PIG-3066:
---

Attachment: PIG-3066.patch

Attached is a patch that fixes test cases.

> Fix TestPigRunner in trunk
> --
>
> Key: PIG-3066
> URL: https://issues.apache.org/jira/browse/PIG-3066
> Project: Pig
>  Issue Type: Bug
>Affects Versions: 0.12
>Reporter: Cheolsoo Park
>Assignee: Cheolsoo Park
> Fix For: 0.12
>
> Attachments: PIG-3066.patch
>
>
> This is a regression from PIG-2924. The size of output in PigStats used to be 
> off by 1 byte per store, but that was fixed by PIG-2924. However, two test 
> cases in {{TestPigRunner}} wasn't corrected, so they fail in trunk.
> The reason why the size of output in PigStats were off by 1 byte per store is 
> because the size variable was initialized by -1 instead of 0.
> {code}
> long bytes = -1;
> ...
> bytes += status.getLen();
> ...
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (PIG-3033) test-patch failed with javadoc warnings

2012-11-21 Thread fang fang chen (JIRA)

[ 
https://issues.apache.org/jira/browse/PIG-3033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502550#comment-13502550
 ] 

fang fang chen commented on PIG-3033:
-

HI Cheolsoo,

Please help review the patch and provide your suggestions.

Thanks

> test-patch failed with javadoc warnings
> ---
>
> Key: PIG-3033
> URL: https://issues.apache.org/jira/browse/PIG-3033
> Project: Pig
>  Issue Type: Bug
>  Components: build
>Affects Versions: 0.11
> Environment: OS: Red Hat Enterprise Linux Server release 6.2 
> (Santiago)
> Install findbugs, svn, forrest, Java5, patch, java6, ant
>Reporter: fang fang chen
>Assignee: fang fang chen
> Fix For: 0.11, 0.12
>
> Attachments: PIG-3033-trunk.patch
>
>
> During test-patch, the build failed with javadoc warning. But these warnings 
> are not contributed by new patch.
> Can reproduce by following cmd.
> command: ant  -DPigPatchProcess= clean javadoc
> 38 javadoc warnings:
>   [javadoc] /root/ff/trunk/src/org/apache/pig/ExecType.java:41: warning - 
> @param argument "str" is not a parameter name.
>   [javadoc] /root/ff/trunk/src/org/apache/pig/StoreFuncWrapper.java:111: 
> warning - @return tag has no arguments.
>   [javadoc] /root/ff/trunk/src/org/apache/pig/TerminatingAccumulator.java:30: 
> warning - Tag @link: reference not found: IsEmpty
>   [javadoc] 
> /root/ff/trunk/src/org/apache/pig/backend/hadoop/executionengine/physicalLayer/relationalOperators/PORank.java:147:
>  warning - @result is an unknown tag.
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestWALPlayer.class(org/apache/hadoop/hbase/mapreduce:TestWALPlayer.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category': class file for 
> org.junit.experimental.categories.Category not found
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestTimeRangeMapRed.class(org/apache/hadoop/hbase/mapreduce:TestTimeRangeMapRed.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestTableSplit.class(org/apache/hadoop/hbase/mapreduce:TestTableSplit.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestTableMapReduce.class(org/apache/hadoop/hbase/mapreduce:TestTableMapReduce.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestTableInputFormatScan.class(org/apache/hadoop/hbase/mapreduce:TestTableInputFormatScan.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestSimpleTotalOrderPartitioner.class(org/apache/hadoop/hbase/mapreduce:TestSimpleTotalOrderPartitioner.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestMultithreadedTableMapper.class(org/apache/hadoop/hbase/mapreduce:TestMultithreadedTableMapper.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestLoadIncrementalHFilesSplitRecovery.class(org/apache/hadoop/hbase/mapreduce:TestLoadIncrementalHFilesSplitRecovery.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestLoadIncrementalHFiles.class(org/apache/hadoop/hbase/mapreduce:TestLoadIncrementalHFiles.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestImportTsv.class(org/apache/hadoop/hbase/mapreduce:TestImportTsv.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestImportExport.class(org/apache/hadoop/hbase/mapreduce:TestImportExport.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestHLogRecordReader.class(org/apache/hadoop/hbase/mapreduce:TestHLogRecordReader.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestHFileOutputFormat.class(org/apache/hadoop/hbase/mapreduce:TestHFileOutputFormat.class):
>  warning: Cannot find annotation 

[jira] [Created] (PIG-3066) Fix TestPigRunner in trunk

2012-11-21 Thread Cheolsoo Park (JIRA)
Cheolsoo Park created PIG-3066:
--

 Summary: Fix TestPigRunner in trunk
 Key: PIG-3066
 URL: https://issues.apache.org/jira/browse/PIG-3066
 Project: Pig
  Issue Type: Bug
Affects Versions: 0.12
Reporter: Cheolsoo Park
Assignee: Cheolsoo Park
 Fix For: 0.12


This is a regression from PIG-2924. The size of output in PigStats used to be 
off by 1 byte per store, but that was fixed by PIG-2924. However, two test 
cases in {{TestPigRunner}} wasn't corrected, so they fail in trunk.

The reason why the size of output in PigStats were off by 1 byte per store is 
because the size variable was initialized by -1 instead of 0.
{code}
long bytes = -1;
...
bytes += status.getLen();
...
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (PIG-3033) test-patch failed with javadoc warnings

2012-11-21 Thread fang fang chen (JIRA)

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

fang fang chen updated PIG-3033:


Fix Version/s: 0.12
   0.11
   Status: Patch Available  (was: Open)

The design is: if the patch did not contribute new jabadoc warnings, then 
javadoc part in test-patch will pass.

> test-patch failed with javadoc warnings
> ---
>
> Key: PIG-3033
> URL: https://issues.apache.org/jira/browse/PIG-3033
> Project: Pig
>  Issue Type: Bug
>  Components: build
>Affects Versions: 0.11
> Environment: OS: Red Hat Enterprise Linux Server release 6.2 
> (Santiago)
> Install findbugs, svn, forrest, Java5, patch, java6, ant
>Reporter: fang fang chen
>Assignee: fang fang chen
> Fix For: 0.11, 0.12
>
> Attachments: PIG-3033-trunk.patch
>
>
> During test-patch, the build failed with javadoc warning. But these warnings 
> are not contributed by new patch.
> Can reproduce by following cmd.
> command: ant  -DPigPatchProcess= clean javadoc
> 38 javadoc warnings:
>   [javadoc] /root/ff/trunk/src/org/apache/pig/ExecType.java:41: warning - 
> @param argument "str" is not a parameter name.
>   [javadoc] /root/ff/trunk/src/org/apache/pig/StoreFuncWrapper.java:111: 
> warning - @return tag has no arguments.
>   [javadoc] /root/ff/trunk/src/org/apache/pig/TerminatingAccumulator.java:30: 
> warning - Tag @link: reference not found: IsEmpty
>   [javadoc] 
> /root/ff/trunk/src/org/apache/pig/backend/hadoop/executionengine/physicalLayer/relationalOperators/PORank.java:147:
>  warning - @result is an unknown tag.
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestWALPlayer.class(org/apache/hadoop/hbase/mapreduce:TestWALPlayer.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category': class file for 
> org.junit.experimental.categories.Category not found
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestTimeRangeMapRed.class(org/apache/hadoop/hbase/mapreduce:TestTimeRangeMapRed.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestTableSplit.class(org/apache/hadoop/hbase/mapreduce:TestTableSplit.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestTableMapReduce.class(org/apache/hadoop/hbase/mapreduce:TestTableMapReduce.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestTableInputFormatScan.class(org/apache/hadoop/hbase/mapreduce:TestTableInputFormatScan.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestSimpleTotalOrderPartitioner.class(org/apache/hadoop/hbase/mapreduce:TestSimpleTotalOrderPartitioner.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestMultithreadedTableMapper.class(org/apache/hadoop/hbase/mapreduce:TestMultithreadedTableMapper.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestLoadIncrementalHFilesSplitRecovery.class(org/apache/hadoop/hbase/mapreduce:TestLoadIncrementalHFilesSplitRecovery.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestLoadIncrementalHFiles.class(org/apache/hadoop/hbase/mapreduce:TestLoadIncrementalHFiles.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestImportTsv.class(org/apache/hadoop/hbase/mapreduce:TestImportTsv.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestImportExport.class(org/apache/hadoop/hbase/mapreduce:TestImportExport.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestHLogRecordReader.class(org/apache/hadoop/hbase/mapreduce:TestHLogRecordReader.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestHFileOutputFormat.class(org/apache/hadoop/hbase/map

[jira] [Updated] (PIG-3033) test-patch failed with javadoc warnings

2012-11-21 Thread fang fang chen (JIRA)

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

fang fang chen updated PIG-3033:


Attachment: PIG-3033-trunk.patch

> test-patch failed with javadoc warnings
> ---
>
> Key: PIG-3033
> URL: https://issues.apache.org/jira/browse/PIG-3033
> Project: Pig
>  Issue Type: Bug
>  Components: build
>Affects Versions: 0.11
> Environment: OS: Red Hat Enterprise Linux Server release 6.2 
> (Santiago)
> Install findbugs, svn, forrest, Java5, patch, java6, ant
>Reporter: fang fang chen
>Assignee: fang fang chen
> Attachments: PIG-3033-trunk.patch
>
>
> During test-patch, the build failed with javadoc warning. But these warnings 
> are not contributed by new patch.
> Can reproduce by following cmd.
> command: ant  -DPigPatchProcess= clean javadoc
> 38 javadoc warnings:
>   [javadoc] /root/ff/trunk/src/org/apache/pig/ExecType.java:41: warning - 
> @param argument "str" is not a parameter name.
>   [javadoc] /root/ff/trunk/src/org/apache/pig/StoreFuncWrapper.java:111: 
> warning - @return tag has no arguments.
>   [javadoc] /root/ff/trunk/src/org/apache/pig/TerminatingAccumulator.java:30: 
> warning - Tag @link: reference not found: IsEmpty
>   [javadoc] 
> /root/ff/trunk/src/org/apache/pig/backend/hadoop/executionengine/physicalLayer/relationalOperators/PORank.java:147:
>  warning - @result is an unknown tag.
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestWALPlayer.class(org/apache/hadoop/hbase/mapreduce:TestWALPlayer.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category': class file for 
> org.junit.experimental.categories.Category not found
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestTimeRangeMapRed.class(org/apache/hadoop/hbase/mapreduce:TestTimeRangeMapRed.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestTableSplit.class(org/apache/hadoop/hbase/mapreduce:TestTableSplit.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestTableMapReduce.class(org/apache/hadoop/hbase/mapreduce:TestTableMapReduce.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestTableInputFormatScan.class(org/apache/hadoop/hbase/mapreduce:TestTableInputFormatScan.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestSimpleTotalOrderPartitioner.class(org/apache/hadoop/hbase/mapreduce:TestSimpleTotalOrderPartitioner.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestMultithreadedTableMapper.class(org/apache/hadoop/hbase/mapreduce:TestMultithreadedTableMapper.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestLoadIncrementalHFilesSplitRecovery.class(org/apache/hadoop/hbase/mapreduce:TestLoadIncrementalHFilesSplitRecovery.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestLoadIncrementalHFiles.class(org/apache/hadoop/hbase/mapreduce:TestLoadIncrementalHFiles.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestImportTsv.class(org/apache/hadoop/hbase/mapreduce:TestImportTsv.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestImportExport.class(org/apache/hadoop/hbase/mapreduce:TestImportExport.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestHLogRecordReader.class(org/apache/hadoop/hbase/mapreduce:TestHLogRecordReader.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestHFileOutputFormat.class(org/apache/hadoop/hbase/mapreduce:TestHFileOutputFormat.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category'
>   [javadoc] /root/ff/trunk/src/org/apache/pig/builtin/mock/Storage.java:14

[jira] [Commented] (PIG-3058) Upgrade junit to at least 4.8

2012-11-21 Thread fang fang chen (JIRA)

[ 
https://issues.apache.org/jira/browse/PIG-3058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502546#comment-13502546
 ] 

fang fang chen commented on PIG-3058:
-

Hi Cheolsoo,

Attached the patch file.
Could you please help review the patch in PIG-3033?
With this fix, some javadoc warnings are removed. But there are still other 25 
javadoc warnings left. 

Thanks

> Upgrade junit to at least 4.8
> -
>
> Key: PIG-3058
> URL: https://issues.apache.org/jira/browse/PIG-3058
> Project: Pig
>  Issue Type: Bug
>  Components: build
>Affects Versions: 0.11
>Reporter: fang fang chen
>Assignee: fang fang chen
> Fix For: 0.11, 0.12
>
> Attachments: PIG-3058-trunk.patch
>
>
> Pig needs to upgrade junit version to at least 4.8. Otherwise, one gets 
> following warnings.
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestWALPlayer.class(org/apache/hadoop/hbase/mapreduce:TestWALPlayer.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category': class file for 
> org.junit.experimental.categories.Category not found

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (PIG-3058) Upgrade junit to at least 4.8

2012-11-21 Thread fang fang chen (JIRA)

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

fang fang chen updated PIG-3058:


Fix Version/s: 0.12
   0.11
   Status: Patch Available  (was: Open)

> Upgrade junit to at least 4.8
> -
>
> Key: PIG-3058
> URL: https://issues.apache.org/jira/browse/PIG-3058
> Project: Pig
>  Issue Type: Bug
>  Components: build
>Affects Versions: 0.11
>Reporter: fang fang chen
>Assignee: fang fang chen
> Fix For: 0.11, 0.12
>
> Attachments: PIG-3058-trunk.patch
>
>
> Pig needs to upgrade junit version to at least 4.8. Otherwise, one gets 
> following warnings.
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestWALPlayer.class(org/apache/hadoop/hbase/mapreduce:TestWALPlayer.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category': class file for 
> org.junit.experimental.categories.Category not found

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (PIG-3058) Upgrade junit to at least 4.8

2012-11-21 Thread fang fang chen (JIRA)

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

fang fang chen updated PIG-3058:


Attachment: PIG-3058-trunk.patch

> Upgrade junit to at least 4.8
> -
>
> Key: PIG-3058
> URL: https://issues.apache.org/jira/browse/PIG-3058
> Project: Pig
>  Issue Type: Bug
>  Components: build
>Affects Versions: 0.11
>Reporter: fang fang chen
>Assignee: fang fang chen
> Attachments: PIG-3058-trunk.patch
>
>
> Pig needs to upgrade junit version to at least 4.8. Otherwise, one gets 
> following warnings.
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestWALPlayer.class(org/apache/hadoop/hbase/mapreduce:TestWALPlayer.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category': class file for 
> org.junit.experimental.categories.Category not found

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] Subscription: PIG patch available

2012-11-21 Thread jira
Issue Subscription
Filter: PIG patch available (27 issues)

Subscriber: pigdaily

Key Summary
PIG-3062Change HBaseStorage to permit overriding pushProjection
https://issues.apache.org/jira/browse/PIG-3062
PIG-3029TestTypeCheckingValidatorNewLP has some path reference issues for 
cross-platform execution
https://issues.apache.org/jira/browse/PIG-3029
PIG-3028testGrunt dev test needs some command filters to run correctly 
without cygwin
https://issues.apache.org/jira/browse/PIG-3028
PIG-3027pigTest unit test needs a newline filter for comparisons of golden 
multi-line
https://issues.apache.org/jira/browse/PIG-3027
PIG-3026Pig checked-in baseline comparisons need a pre-filter to address 
OS-specific newline differences
https://issues.apache.org/jira/browse/PIG-3026
PIG-3025TestPruneColumn unit test - SimpleEchoStreamingCommand perl inline 
script needs simplification
https://issues.apache.org/jira/browse/PIG-3025
PIG-3024TestEmptyInputDir unit test - hadoop version detection logic is 
brittle
https://issues.apache.org/jira/browse/PIG-3024
PIG-3015Rewrite of AvroStorage
https://issues.apache.org/jira/browse/PIG-3015
PIG-3014CurrentTime() UDF has undesirable characteristics
https://issues.apache.org/jira/browse/PIG-3014
PIG-3010Allow UDF's to flatten themselves
https://issues.apache.org/jira/browse/PIG-3010
PIG-2959Add a pig.cmd for Pig to run under Windows
https://issues.apache.org/jira/browse/PIG-2959
PIG-2957TetsScriptUDF fail due to volume prefix in jar
https://issues.apache.org/jira/browse/PIG-2957
PIG-2956Invalid cache specification for some streaming statement
https://issues.apache.org/jira/browse/PIG-2956
PIG-2955 Fix bunch of Pig e2e tests on Windows 
https://issues.apache.org/jira/browse/PIG-2955
PIG-2907Publish pig 0.23 jars to maven
https://issues.apache.org/jira/browse/PIG-2907
PIG-2873Converting bin/pig shell script to python
https://issues.apache.org/jira/browse/PIG-2873
PIG-2834MultiStorage requires unused constructor argument
https://issues.apache.org/jira/browse/PIG-2834
PIG-2824Pushing checking number of fields into LoadFunc
https://issues.apache.org/jira/browse/PIG-2824
PIG-2661Pig uses an extra job for loading data in Pigmix L9
https://issues.apache.org/jira/browse/PIG-2661
PIG-2507Semicolon in paramenters for UDF results in parsing error
https://issues.apache.org/jira/browse/PIG-2507
PIG-2433Jython import module not working if module path is in classpath
https://issues.apache.org/jira/browse/PIG-2433
PIG-2417Streaming UDFs -  allow users to easily write UDFs in scripting 
languages with no JVM implementation.
https://issues.apache.org/jira/browse/PIG-2417
PIG-2362Rework Ant build.xml to use macrodef instead of antcall
https://issues.apache.org/jira/browse/PIG-2362
PIG-2312NPE when relation and column share the same name and used in Nested 
Foreach 
https://issues.apache.org/jira/browse/PIG-2312
PIG-1942script UDF (jython) should utilize the intended output schema to 
more directly convert Py objects to Pig objects
https://issues.apache.org/jira/browse/PIG-1942
PIG-1431Current DateTime UDFs: ISONOW(), UNIXNOW()
https://issues.apache.org/jira/browse/PIG-1431
PIG-1237Piggybank MutliStorage - specify field to write in output
https://issues.apache.org/jira/browse/PIG-1237

You may edit this subscription at:
https://issues.apache.org/jira/secure/FilterSubscription!default.jspa?subId=13225&filterId=12322384


[jira] [Commented] (PIG-3058) Upgrade junit to at least 4.8

2012-11-21 Thread Cheolsoo Park (JIRA)

[ 
https://issues.apache.org/jira/browse/PIG-3058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502490#comment-13502490
 ] 

Cheolsoo Park commented on PIG-3058:


@Richard, thank you for pointing that out. I will get them fixed.

@Fangfang, I will run unit test with junit 4.11 and see if I get the same 
result as yours. Please free to submit the patch.


> Upgrade junit to at least 4.8
> -
>
> Key: PIG-3058
> URL: https://issues.apache.org/jira/browse/PIG-3058
> Project: Pig
>  Issue Type: Bug
>  Components: build
>Affects Versions: 0.11
>Reporter: fang fang chen
>Assignee: fang fang chen
>
> Pig needs to upgrade junit version to at least 4.8. Otherwise, one gets 
> following warnings.
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestWALPlayer.class(org/apache/hadoop/hbase/mapreduce:TestWALPlayer.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category': class file for 
> org.junit.experimental.categories.Category not found

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (PIG-3058) Upgrade junit to at least 4.8

2012-11-21 Thread Richard Ding (JIRA)

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

Richard Ding updated PIG-3058:
--


This two failures were introduced by PIG-2924 which actually fixed a bug in 
JobStats class. But the corresponding errors in TestPigRunner didn't get fixed.



> Upgrade junit to at least 4.8
> -
>
> Key: PIG-3058
> URL: https://issues.apache.org/jira/browse/PIG-3058
> Project: Pig
>  Issue Type: Bug
>  Components: build
>Affects Versions: 0.11
>Reporter: fang fang chen
>Assignee: fang fang chen
>
> Pig needs to upgrade junit version to at least 4.8. Otherwise, one gets 
> following warnings.
>   [javadoc] 
> org/apache/hadoop/hbase/mapreduce/TestWALPlayer.class(org/apache/hadoop/hbase/mapreduce:TestWALPlayer.class):
>  warning: Cannot find annotation method 'value()' in type 
> 'org.junit.experimental.categories.Category': class file for 
> org.junit.experimental.categories.Category not found

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (PIG-3065) pig output format/committer should support recovery for hadoop 0.23

2012-11-21 Thread Rohini Palaniswamy (JIRA)

[ 
https://issues.apache.org/jira/browse/PIG-3065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502183#comment-13502183
 ] 

Rohini Palaniswamy commented on PIG-3065:
-

>From [~tgraves]:

In hadoop 0.23 the output committer can optionally support recovery to handle
the application master getting restarted (failing some # of attempts). Recovery
allows the app master to pick up from where it left off in the case where some
tasks finished before the failure.  The AM does this by reading the job history
file so far and determining which tasks completed.   The hadoop
Fileoutputformat/Fileoutputcommitter supports this.

  @Override
  public boolean isRecoverySupported() {
return true;
  }

>From doing some searching,
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigOutputFormat
uses PigOutputCommitter which doesn't have the recovery supported set so it
defaults to the OutputCommitter one which has recovery set to false.  We've
seen many instances where we believe supporting this would have made things go
much faster as the jobs which had the AM fail had to re-run all of the tasks
rather then just a few that hadn't finished yet.

If its possible the pig outputformat/committer should support recovery.

> pig output format/committer should support recovery for hadoop 0.23
> ---
>
> Key: PIG-3065
> URL: https://issues.apache.org/jira/browse/PIG-3065
> Project: Pig
>  Issue Type: New Feature
>Reporter: Rohini Palaniswamy
>Priority: Minor
>
> In hadoop 0.23 the output committer can optionally support recovery to handle
> the application master getting restarted (failing some # of attempts). If its 
> possible the pig outputformat/committer should support recovery.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (PIG-3065) pig output format/committer should support recovery for hadoop 0.23

2012-11-21 Thread Rohini Palaniswamy (JIRA)
Rohini Palaniswamy created PIG-3065:
---

 Summary: pig output format/committer should support recovery for 
hadoop 0.23
 Key: PIG-3065
 URL: https://issues.apache.org/jira/browse/PIG-3065
 Project: Pig
  Issue Type: New Feature
Reporter: Rohini Palaniswamy
Priority: Minor


In hadoop 0.23 the output committer can optionally support recovery to handle
the application master getting restarted (failing some # of attempts). If its 
possible the pig outputformat/committer should support recovery.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (PIG-3034) Remove Penny code from Pig repository

2012-11-21 Thread Cheolsoo Park (JIRA)

[ 
https://issues.apache.org/jira/browse/PIG-3034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13501979#comment-13501979
 ] 

Cheolsoo Park commented on PIG-3034:


I realized that penny must be removed from branch-0.11 too. It doesn't compile. 
I am going to commit this to branch-0.11 too.

Please let me know if you have any concerns.

Thanks!



> Remove Penny code from Pig repository
> -
>
> Key: PIG-3034
> URL: https://issues.apache.org/jira/browse/PIG-3034
> Project: Pig
>  Issue Type: Task
>Affects Versions: 0.12
>Reporter: Alan Gates
>Assignee: Alan Gates
> Fix For: 0.12
>
> Attachments: PIG-penniless.patch
>
>
> Per the discussion at 
> http://mail-archives.apache.org/mod_mbox/pig-dev/201210.mbox/%3C7C2F4342-E5AE-4FEF-B4C6-8413646D8D37%40hortonworks.com%3E
>  and 
> http://mail-archives.apache.org/mod_mbox/pig-dev/201211.mbox/%3CCAO8ATY2WgFf37qBmyzT8B6HNCsGMS-1QQOkY9zp4AL_8Aud_cw%40mail.gmail.com%3E
>  we have decided to remove Penny from Pig's source code.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (PIG-3064) imported script's parameters is not substituted

2012-11-21 Thread wonderyl (JIRA)
wonderyl created PIG-3064:
-

 Summary: imported script's parameters is not substituted 
 Key: PIG-3064
 URL: https://issues.apache.org/jira/browse/PIG-3064
 Project: Pig
  Issue Type: Bug
  Components: parser
Affects Versions: 0.10.0
Reporter: wonderyl
Priority: Minor


let's say there are 2 scripts a and b, I imported b in a, and both a and b use 
the same parameter like time stamp. but after executed script a, I find out 
that the parameter in b is not substituted at all, and any description clauses 
are add in b will cause an error when parsing, which is not convenient. 
Now, I have to manually merge the 2 scripts into 1 to bypass the problem.
I suppose the order of import and parameter substitution is wrong, which cause 
the problem. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira