Re: PIG-671

2011-03-08 Thread deepak kumar v
Hi, PFA patch of fix for PIG-671. Used the approach mentioned in previous email. I could not find any test cases for Count.java, besides ant test just hung up. Output: grunt a = load 'test.txt'; grunt x = foreach a generate COUNT(a.$0,a.$0); grunt dump x; 2011-03-08 14:45:03,408 [main] ERROR

[jira] Commented: (PIG-671) typechecker does not throw an error when multiple arguments are passed to COUNT

2011-03-08 Thread Deepak Kumar V (JIRA)
[ https://issues.apache.org/jira/browse/PIG-671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13003883#comment-13003883 ] Deepak Kumar V commented on PIG-671: Here is the final approach: Include public

Build failed in Jenkins: Pig-trunk #941

2011-03-08 Thread Apache Hudson Server
See https://hudson.apache.org/hudson/job/Pig-trunk/941/changes Changes: [daijy] PIG-1888: Fix TestLogicalPlanGenerator not use hardcoded path [dvryaboy] PIG-1889: bin/pig should pick up HBase configuration from HBASE_CONF_DIR -- [...truncated 5381

[jira] Commented: (PIG-1885) SUBSTRING fails when input length less than start

2011-03-08 Thread Deepak Kumar V (JIRA)
[ https://issues.apache.org/jira/browse/PIG-1885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13003968#comment-13003968 ] Deepak Kumar V commented on PIG-1885: - There are few more cases that needs to be

[jira] Commented: (PIG-671) typechecker does not throw an error when multiple arguments are passed to COUNT

2011-03-08 Thread Thejas M Nair (JIRA)
[ https://issues.apache.org/jira/browse/PIG-671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13003985#comment-13003985 ] Thejas M Nair commented on PIG-671: --- Deepak, I can't find your name in the drop down to

[jira] Commented: (PIG-671) typechecker does not throw an error when multiple arguments are passed to COUNT

2011-03-08 Thread Deepak Kumar V (JIRA)
[ https://issues.apache.org/jira/browse/PIG-671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13004014#comment-13004014 ] Deepak Kumar V commented on PIG-671: I could not locate the option to re-assign the

[jira] Updated: (PIG-1884) Change ReadToEndLoader.setLocation not throw UnsupportedOperationException

2011-03-08 Thread Thejas M Nair (JIRA)
[ https://issues.apache.org/jira/browse/PIG-1884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thejas M Nair updated PIG-1884: --- Affects Version/s: 0.8.0 Fix Version/s: 0.8.0 Change ReadToEndLoader.setLocation not throw

[jira] Updated: (PIG-1884) Change ReadToEndLoader.setLocation not throw UnsupportedOperationException

2011-03-08 Thread Thejas M Nair (JIRA)
[ https://issues.apache.org/jira/browse/PIG-1884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thejas M Nair updated PIG-1884: --- Attachment: PIG-1884.08.1.patch PIG-1884.08.1.patch - patch generated for 0.8 which includes changes

[jira] Updated: (PIG-1618) Switch to new parser generator technology

2011-03-08 Thread Xuefu Zhang (JIRA)
[ https://issues.apache.org/jira/browse/PIG-1618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuefu Zhang updated PIG-1618: - Attachment: NewParser-21.patch Switch to new parser generator technology

Re: PIG-671

2011-03-08 Thread Dmitriy Ryaboy
ant test doesn't hang, it just runs for a very long time. If you want to test something specific, you can name the test class like so: ant test -Dtestcase=TestBuiltins (this will run the tests in TestBuiltins.java) COUNT tests are probably in TestBuiltins or in TestAlgebraic. Look around. You

[jira] Commented: (PIG-1881) Need a special interface for Penny (Inspector Gadget)

2011-03-08 Thread Alan Gates (JIRA)
[ https://issues.apache.org/jira/browse/PIG-1881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13004075#comment-13004075 ] Alan Gates commented on PIG-1881: - I don't want this to be a public interface at all,

[jira] Assigned: (PIG-1885) SUBSTRING fails when input length less than start

2011-03-08 Thread Alan Gates (JIRA)
[ https://issues.apache.org/jira/browse/PIG-1885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alan Gates reassigned PIG-1885: --- Assignee: Deepak Kumar V SUBSTRING fails when input length less than start

[jira] Commented: (PIG-671) typechecker does not throw an error when multiple arguments are passed to COUNT

2011-03-08 Thread Alan Gates (JIRA)
[ https://issues.apache.org/jira/browse/PIG-671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13004087#comment-13004087 ] Alan Gates commented on PIG-671: Any changes we make have to still work in two scenarios:

[jira] Updated: (PIG-671) typechecker does not throw an error when multiple arguments are passed to COUNT

2011-03-08 Thread Deepak Kumar V (JIRA)
[ https://issues.apache.org/jira/browse/PIG-671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Deepak Kumar V updated PIG-671: --- Fix Version/s: 0.9.0 Affects Version/s: 0.9.0 Release Note: The fix is tested against

[jira] Commented: (PIG-671) typechecker does not throw an error when multiple arguments are passed to COUNT

2011-03-08 Thread Deepak Kumar V (JIRA)
[ https://issues.apache.org/jira/browse/PIG-671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13004096#comment-13004096 ] Deepak Kumar V commented on PIG-671: The following scenarios were tested with the patch.

[jira] Updated: (PIG-671) typechecker does not throw an error when multiple arguments are passed to COUNT

2011-03-08 Thread Deepak Kumar V (JIRA)
[ https://issues.apache.org/jira/browse/PIG-671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Deepak Kumar V updated PIG-671: --- Attachment: PIG-671.txt typechecker does not throw an error when multiple arguments are passed to

[jira] Updated: (PIG-1885) SUBSTRING fails when input length less than start

2011-03-08 Thread Deepak Kumar V (JIRA)
[ https://issues.apache.org/jira/browse/PIG-1885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Deepak Kumar V updated PIG-1885: Attachment: PIG-1885.txt SUBSTRING fails when input length less than start

Re: PIG-671

2011-03-08 Thread deepak kumar v
Hi Dmitriy, Will checkout TestBuiltins.java once my eclipse setup is ready. Meanwhile i tried the couple of scenarios that you mentioned. 1) Schema defined for a grunt a = load 'test.txt' as (data:chararray); grunt b = group a all; grunt describe a; a: {data: chararray} grunt describe b; b:

[jira] Updated: (PIG-1618) Switch to new parser generator technology

2011-03-08 Thread Xuefu Zhang (JIRA)
[ https://issues.apache.org/jira/browse/PIG-1618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuefu Zhang updated PIG-1618: - Attachment: NewParser-22.patch Switch to new parser generator technology

[jira] Commented: (PIG-1885) SUBSTRING fails when input length less than start

2011-03-08 Thread Alan Gates (JIRA)
[ https://issues.apache.org/jira/browse/PIG-1885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13004136#comment-13004136 ] Alan Gates commented on PIG-1885: - Changes look good. One thought I had is rather than

[jira] Resolved: (PIG-1884) Change ReadToEndLoader.setLocation not throw UnsupportedOperationException

2011-03-08 Thread Thejas M Nair (JIRA)
[ https://issues.apache.org/jira/browse/PIG-1884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thejas M Nair resolved PIG-1884. Resolution: Fixed Unit tests and test-patch passed with PIG-1884.08.1.patch. Patch committed to

Build failed in Jenkins: Pig-trunk-commit #689

2011-03-08 Thread Apache Hudson Server
See https://hudson.apache.org/hudson/job/Pig-trunk-commit/689/changes Changes: [daijy] Change build.xml to give 1024M memory to findbug (because hudson fail OOM on findbug) -- [...truncated 5397 lines...] [ivy:resolve] found

Build failed in Jenkins: Pig-trunk-commit #690

2011-03-08 Thread Apache Hudson Server
See https://hudson.apache.org/hudson/job/Pig-trunk-commit/690/ -- [...truncated 5398 lines...] [ivy:resolve] found org.apache.ftpserver#ftplet-api;1.0.0 in maven2 [ivy:resolve] found org.apache.mina#mina-core;2.0.0-M5 in maven2 [ivy:resolve] found

[jira] Commented: (PIG-1618) Switch to new parser generator technology

2011-03-08 Thread Xuefu Zhang (JIRA)
[ https://issues.apache.org/jira/browse/PIG-1618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13004152#comment-13004152 ] Xuefu Zhang commented on PIG-1618: -- For NewParser-21.patch: [exec] +1 overall.

Re: PIG-671

2011-03-08 Thread Dmitriy Ryaboy
Nice work. You are going to want to make sure COUNT also works on the scenarios it's supposed to work on. So far you only seem to be testing failures? Also, write it up as proper unit tests so we don't get regressions. D On Tue, Mar 8, 2011 at 10:40 AM, deepak kumar v deepu@gmail.com

Jenkins build is back to normal : Pig-trunk-commit #691

2011-03-08 Thread Apache Hudson Server
See https://hudson.apache.org/hudson/job/Pig-trunk-commit/691/changes

Re: Findbugs build failure

2011-03-08 Thread Daniel Dai
Thanks. Which file did you change? Daniel On 03/08/2011 01:25 PM, Giridharan Kesavan wrote: Increased the java heap size for ant on both the hudson build jobs (commit and secondary). Thanks giri On 3/8/11 11:05 AM, Apache Hudson Serverhud...@hudson.apache.org wrote:

Re: Findbugs build failure

2011-03-08 Thread Giridharan Kesavan
Like I mentioned its the hudson job conf, there is no change to any file. -giri On 3/8/11 1:50 PM, Jianyong Dai jiany...@yahoo-inc.com wrote: Thanks. Which file did you change? Daniel On 03/08/2011 01:25 PM, Giridharan Kesavan wrote: Increased the java heap size for ant on both the hudson

[jira] Resolved: (PIG-824) SQL interface for Pig

2011-03-08 Thread Alan Gates (JIRA)
[ https://issues.apache.org/jira/browse/PIG-824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alan Gates resolved PIG-824. Resolution: Won't Fix SQL interface for Pig - Key: PIG-824

[jira] Updated: (PIG-1618) Switch to new parser generator technology

2011-03-08 Thread Thejas M Nair (JIRA)
[ https://issues.apache.org/jira/browse/PIG-1618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thejas M Nair updated PIG-1618: --- Attachment: NewParser-23.patch NewParser-23.patch - Re-enables test cases in

Re: PIG-671

2011-03-08 Thread deepak kumar v
Hi, Sure, will do that. Meanwhile, I tried to import pig src into eclipse using New project wizard with Create a Java Project from Ant Buildfile option, i see the following error Reference ${cp} not found and it fails to import src code. A empty New project Pig is created as a result. Before