[jira] [Commented] (PIG-2769) a simple logic causes very long compiling time on pig 0.10.0
[ https://issues.apache.org/jira/browse/PIG-2769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13621897#comment-13621897 ] Dmitriy V. Ryaboy commented on PIG-2769: Didn't see earlier that this only went into trunk (thanks [~knoguchi] for pointing this out!). We should put this into 0.11 branch, maybe there will be an 0.11.2 before 12 comes out. a simple logic causes very long compiling time on pig 0.10.0 Key: PIG-2769 URL: https://issues.apache.org/jira/browse/PIG-2769 Project: Pig Issue Type: Bug Components: build Affects Versions: 0.10.0 Environment: Apache Pig version 0.10.0-SNAPSHOT (rexported) Reporter: Dan Li Assignee: Nick White Fix For: 0.12 Attachments: case1.tar, PIG-2769.0.patch, PIG-2769.1.patch, PIG-2769.2.patch, TEST-org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.TestInputSizeReducerEstimator.txt We found the following simple logic will cause very long compiling time for pig 0.10.0, while using pig 0.8.1, everything is fine. A = load 'A.txt' using PigStorage() AS (m: int); B = FOREACH A { days_str = (chararray) (m == 1 ? 31: (m == 2 ? 28: (m == 3 ? 31: (m == 4 ? 30: (m == 5 ? 31: (m == 6 ? 30: (m == 7 ? 31: (m == 8 ? 31: (m == 9 ? 30: (m == 10 ? 31: (m == 11 ? 30:31))); GENERATE days_str as days_str; } store B into 'B'; and here's a simple input file example: A.txt 1 2 3 The pig version we used in the test Apache Pig version 0.10.0-SNAPSHOT (rexported) -- 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-2769) a simple logic causes very long compiling time on pig 0.10.0
[ https://issues.apache.org/jira/browse/PIG-2769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13622731#comment-13622731 ] Koji Noguchi commented on PIG-2769: --- bq. We should put this into 0.11 branch, maybe there will be an 0.11.2 before 12 comes out. If we can fix this in 0.11, that would be really nice. On our clusters, there were multiple users hit with this issue on 0.10. a simple logic causes very long compiling time on pig 0.10.0 Key: PIG-2769 URL: https://issues.apache.org/jira/browse/PIG-2769 Project: Pig Issue Type: Bug Components: build Affects Versions: 0.10.0 Environment: Apache Pig version 0.10.0-SNAPSHOT (rexported) Reporter: Dan Li Assignee: Nick White Fix For: 0.12 Attachments: case1.tar, PIG-2769.0.patch, PIG-2769.1.patch, PIG-2769.2.patch, TEST-org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.TestInputSizeReducerEstimator.txt We found the following simple logic will cause very long compiling time for pig 0.10.0, while using pig 0.8.1, everything is fine. A = load 'A.txt' using PigStorage() AS (m: int); B = FOREACH A { days_str = (chararray) (m == 1 ? 31: (m == 2 ? 28: (m == 3 ? 31: (m == 4 ? 30: (m == 5 ? 31: (m == 6 ? 30: (m == 7 ? 31: (m == 8 ? 31: (m == 9 ? 30: (m == 10 ? 31: (m == 11 ? 30:31))); GENERATE days_str as days_str; } store B into 'B'; and here's a simple input file example: A.txt 1 2 3 The pig version we used in the test Apache Pig version 0.10.0-SNAPSHOT (rexported) -- 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-2769) a simple logic causes very long compiling time on pig 0.10.0
[ https://issues.apache.org/jira/browse/PIG-2769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13622756#comment-13622756 ] Dmitriy V. Ryaboy commented on PIG-2769: in 0.11 branch now. a simple logic causes very long compiling time on pig 0.10.0 Key: PIG-2769 URL: https://issues.apache.org/jira/browse/PIG-2769 Project: Pig Issue Type: Bug Components: build Affects Versions: 0.10.0 Environment: Apache Pig version 0.10.0-SNAPSHOT (rexported) Reporter: Dan Li Assignee: Nick White Fix For: 0.12, 0.11.2 Attachments: case1.tar, PIG-2769.0.patch, PIG-2769.1.patch, PIG-2769.2.patch, TEST-org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.TestInputSizeReducerEstimator.txt We found the following simple logic will cause very long compiling time for pig 0.10.0, while using pig 0.8.1, everything is fine. A = load 'A.txt' using PigStorage() AS (m: int); B = FOREACH A { days_str = (chararray) (m == 1 ? 31: (m == 2 ? 28: (m == 3 ? 31: (m == 4 ? 30: (m == 5 ? 31: (m == 6 ? 30: (m == 7 ? 31: (m == 8 ? 31: (m == 9 ? 30: (m == 10 ? 31: (m == 11 ? 30:31))); GENERATE days_str as days_str; } store B into 'B'; and here's a simple input file example: A.txt 1 2 3 The pig version we used in the test Apache Pig version 0.10.0-SNAPSHOT (rexported) -- 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-2769) a simple logic causes very long compiling time on pig 0.10.0
[ https://issues.apache.org/jira/browse/PIG-2769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13550696#comment-13550696 ] Dmitriy V. Ryaboy commented on PIG-2769: this is great, thank you! a simple logic causes very long compiling time on pig 0.10.0 Key: PIG-2769 URL: https://issues.apache.org/jira/browse/PIG-2769 Project: Pig Issue Type: Bug Components: build Affects Versions: 0.10.0 Environment: Apache Pig version 0.10.0-SNAPSHOT (rexported) Reporter: Dan Li Assignee: Nick White Fix For: 0.12 Attachments: case1.tar, PIG-2769.0.patch, PIG-2769.1.patch, PIG-2769.2.patch, TEST-org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.TestInputSizeReducerEstimator.txt We found the following simple logic will cause very long compiling time for pig 0.10.0, while using pig 0.8.1, everything is fine. A = load 'A.txt' using PigStorage() AS (m: int); B = FOREACH A { days_str = (chararray) (m == 1 ? 31: (m == 2 ? 28: (m == 3 ? 31: (m == 4 ? 30: (m == 5 ? 31: (m == 6 ? 30: (m == 7 ? 31: (m == 8 ? 31: (m == 9 ? 30: (m == 10 ? 31: (m == 11 ? 30:31))); GENERATE days_str as days_str; } store B into 'B'; and here's a simple input file example: A.txt 1 2 3 The pig version we used in the test Apache Pig version 0.10.0-SNAPSHOT (rexported) -- 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-2769) a simple logic causes very long compiling time on pig 0.10.0
[ https://issues.apache.org/jira/browse/PIG-2769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13547085#comment-13547085 ] Alan Gates commented on PIG-2769: - When I do a clean first as Cheolsoo advises it works, though I don't fully understand that since I started out with a clean checkout. In the system tests NegForeach_7, NegForeach_9, SyntaxErrors_4, Macro_Error_4 all fail because the error messages have changed. You can find these in test/e2e/pig/tests/negative.conf and macro.conf. Search on each of the group names (NegForeach, ...) and then find the test number under that. In each case you can run the query and change the expected error message to match the new one. Other than that, +1, patch looks good. a simple logic causes very long compiling time on pig 0.10.0 Key: PIG-2769 URL: https://issues.apache.org/jira/browse/PIG-2769 Project: Pig Issue Type: Bug Components: build Affects Versions: 0.10.0 Environment: Apache Pig version 0.10.0-SNAPSHOT (rexported) Reporter: Dan Li Assignee: Nick White Fix For: 0.12 Attachments: case1.tar, PIG-2769.0.patch, TEST-org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.TestInputSizeReducerEstimator.txt We found the following simple logic will cause very long compiling time for pig 0.10.0, while using pig 0.8.1, everything is fine. A = load 'A.txt' using PigStorage() AS (m: int); B = FOREACH A { days_str = (chararray) (m == 1 ? 31: (m == 2 ? 28: (m == 3 ? 31: (m == 4 ? 30: (m == 5 ? 31: (m == 6 ? 30: (m == 7 ? 31: (m == 8 ? 31: (m == 9 ? 30: (m == 10 ? 31: (m == 11 ? 30:31))); GENERATE days_str as days_str; } store B into 'B'; and here's a simple input file example: A.txt 1 2 3 The pig version we used in the test Apache Pig version 0.10.0-SNAPSHOT (rexported) -- 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-2769) a simple logic causes very long compiling time on pig 0.10.0
[ https://issues.apache.org/jira/browse/PIG-2769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13547105#comment-13547105 ] Rohini Palaniswamy commented on PIG-2769: - bq. When I do a clean first as Cheolsoo advises it works, though I don't fully understand that since I started out with a clean checkout. Order of tests run must have been the cause. It might have passed after doing a clean because you might have just run TestInputSizeReducerEstimator without running other tests. TestInputSizeReducerEstimator needs to be fixed to do new Configuration(false); instead of new Configuration(); which makes it pick up hadoop-site.xml from a previously run test. a simple logic causes very long compiling time on pig 0.10.0 Key: PIG-2769 URL: https://issues.apache.org/jira/browse/PIG-2769 Project: Pig Issue Type: Bug Components: build Affects Versions: 0.10.0 Environment: Apache Pig version 0.10.0-SNAPSHOT (rexported) Reporter: Dan Li Assignee: Nick White Fix For: 0.12 Attachments: case1.tar, PIG-2769.0.patch, TEST-org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.TestInputSizeReducerEstimator.txt We found the following simple logic will cause very long compiling time for pig 0.10.0, while using pig 0.8.1, everything is fine. A = load 'A.txt' using PigStorage() AS (m: int); B = FOREACH A { days_str = (chararray) (m == 1 ? 31: (m == 2 ? 28: (m == 3 ? 31: (m == 4 ? 30: (m == 5 ? 31: (m == 6 ? 30: (m == 7 ? 31: (m == 8 ? 31: (m == 9 ? 30: (m == 10 ? 31: (m == 11 ? 30:31))); GENERATE days_str as days_str; } store B into 'B'; and here's a simple input file example: A.txt 1 2 3 The pig version we used in the test Apache Pig version 0.10.0-SNAPSHOT (rexported) -- 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-2769) a simple logic causes very long compiling time on pig 0.10.0
[ https://issues.apache.org/jira/browse/PIG-2769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13543429#comment-13543429 ] Jonathan Coveney commented on PIG-2769: --- Nick, this its awesome. Well done, and thanks for tackling it. It's some cleanup pig sorely needed. a simple logic causes very long compiling time on pig 0.10.0 Key: PIG-2769 URL: https://issues.apache.org/jira/browse/PIG-2769 Project: Pig Issue Type: Bug Components: build Affects Versions: 0.10.0 Environment: Apache Pig version 0.10.0-SNAPSHOT (rexported) Reporter: Dan Li Assignee: Nick White Fix For: 0.12 Attachments: case1.tar, PIG-2769.0.patch, TEST-org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.TestInputSizeReducerEstimator.txt We found the following simple logic will cause very long compiling time for pig 0.10.0, while using pig 0.8.1, everything is fine. A = load 'A.txt' using PigStorage() AS (m: int); B = FOREACH A { days_str = (chararray) (m == 1 ? 31: (m == 2 ? 28: (m == 3 ? 31: (m == 4 ? 30: (m == 5 ? 31: (m == 6 ? 30: (m == 7 ? 31: (m == 8 ? 31: (m == 9 ? 30: (m == 10 ? 31: (m == 11 ? 30:31))); GENERATE days_str as days_str; } store B into 'B'; and here's a simple input file example: A.txt 1 2 3 The pig version we used in the test Apache Pig version 0.10.0-SNAPSHOT (rexported) -- 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-2769) a simple logic causes very long compiling time on pig 0.10.0
[ https://issues.apache.org/jira/browse/PIG-2769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13541974#comment-13541974 ] Cheolsoo Park commented on PIG-2769: Hi Alan, The test failure that you're seeing may be because of a stale {{hadoop-site.xml}} in {{build/classes}} from a previous test. Any test that uses MiniCluster generates {{hadoop-site.xml}} in {{build/classes}}, and since {{build/classes}} is in the classpath of unit test, a stale {{hadoop-site.xml}} will be picked up by {{TestInputSizeReducerEstimator}} if exists. I am able to reproduce the exactly same error by adding a {{hadoop-site.xml}} to {{build/classes}} as follows: {code:title=hadoop-site.xml} configuration property namefs.default.name/name valuehdfs://localhost:45399/value /property /configuration {code} With this {{hadoop-site.xml}} in classpath, the test tries to connect to a NN on port 45399, which it shouldn't. Can you verify that running {{ant clean test}} instead of {{ant test}} lets the error go away? When I do {{ant clean test}}, the test always passes for me. a simple logic causes very long compiling time on pig 0.10.0 Key: PIG-2769 URL: https://issues.apache.org/jira/browse/PIG-2769 Project: Pig Issue Type: Bug Components: build Affects Versions: 0.10.0 Environment: Apache Pig version 0.10.0-SNAPSHOT (rexported) Reporter: Dan Li Assignee: Nick White Fix For: 0.12 Attachments: case1.tar, PIG-2769.0.patch, TEST-org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.TestInputSizeReducerEstimator.txt We found the following simple logic will cause very long compiling time for pig 0.10.0, while using pig 0.8.1, everything is fine. A = load 'A.txt' using PigStorage() AS (m: int); B = FOREACH A { days_str = (chararray) (m == 1 ? 31: (m == 2 ? 28: (m == 3 ? 31: (m == 4 ? 30: (m == 5 ? 31: (m == 6 ? 30: (m == 7 ? 31: (m == 8 ? 31: (m == 9 ? 30: (m == 10 ? 31: (m == 11 ? 30:31))); GENERATE days_str as days_str; } store B into 'B'; and here's a simple input file example: A.txt 1 2 3 The pig version we used in the test Apache Pig version 0.10.0-SNAPSHOT (rexported) -- 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-2769) a simple logic causes very long compiling time on pig 0.10.0
[ https://issues.apache.org/jira/browse/PIG-2769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13541394#comment-13541394 ] Alan Gates commented on PIG-2769: - That's the only failure I see in the unit tests that's new after I apply your patch. It fails consistently for me with your patch and passes consistently without it. I'll attach the logs from the test. a simple logic causes very long compiling time on pig 0.10.0 Key: PIG-2769 URL: https://issues.apache.org/jira/browse/PIG-2769 Project: Pig Issue Type: Bug Components: build Affects Versions: 0.10.0 Environment: Apache Pig version 0.10.0-SNAPSHOT (rexported) Reporter: Dan Li Assignee: Nick White Fix For: 0.12 Attachments: case1.tar, PIG-2769.0.patch We found the following simple logic will cause very long compiling time for pig 0.10.0, while using pig 0.8.1, everything is fine. A = load 'A.txt' using PigStorage() AS (m: int); B = FOREACH A { days_str = (chararray) (m == 1 ? 31: (m == 2 ? 28: (m == 3 ? 31: (m == 4 ? 30: (m == 5 ? 31: (m == 6 ? 30: (m == 7 ? 31: (m == 8 ? 31: (m == 9 ? 30: (m == 10 ? 31: (m == 11 ? 30:31))); GENERATE days_str as days_str; } store B into 'B'; and here's a simple input file example: A.txt 1 2 3 The pig version we used in the test Apache Pig version 0.10.0-SNAPSHOT (rexported) -- 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-2769) a simple logic causes very long compiling time on pig 0.10.0
[ https://issues.apache.org/jira/browse/PIG-2769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13540653#comment-13540653 ] Alan Gates commented on PIG-2769: - I'll take a look at this and start running the tests. a simple logic causes very long compiling time on pig 0.10.0 Key: PIG-2769 URL: https://issues.apache.org/jira/browse/PIG-2769 Project: Pig Issue Type: Bug Components: build Affects Versions: 0.10.0 Environment: Apache Pig version 0.10.0-SNAPSHOT (rexported) Reporter: Dan Li Assignee: Nick White Fix For: 0.12 Attachments: case1.tar, PIG-2769.0.patch We found the following simple logic will cause very long compiling time for pig 0.10.0, while using pig 0.8.1, everything is fine. A = load 'A.txt' using PigStorage() AS (m: int); B = FOREACH A { days_str = (chararray) (m == 1 ? 31: (m == 2 ? 28: (m == 3 ? 31: (m == 4 ? 30: (m == 5 ? 31: (m == 6 ? 30: (m == 7 ? 31: (m == 8 ? 31: (m == 9 ? 30: (m == 10 ? 31: (m == 11 ? 30:31))); GENERATE days_str as days_str; } store B into 'B'; and here's a simple input file example: A.txt 1 2 3 The pig version we used in the test Apache Pig version 0.10.0-SNAPSHOT (rexported) -- 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-2769) a simple logic causes very long compiling time on pig 0.10.0
[ https://issues.apache.org/jira/browse/PIG-2769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13481538#comment-13481538 ] Timothy Chen commented on PIG-2769: --- I decided to leave this issue open to grab for now since this issue is mostly in the ANTLR generated code and I am still learning about ANTLR. It does seems that it's recursively calling foreach_complex_statement pretty excessively, but I don't have enough knowledge to deduce the grammer so it still works. I did verify that the AST generated in 0.9.2 and 0.10-SNAPSHOT generated is exactly the same if that helps. a simple logic causes very long compiling time on pig 0.10.0 Key: PIG-2769 URL: https://issues.apache.org/jira/browse/PIG-2769 Project: Pig Issue Type: Bug Components: build Affects Versions: 0.10.0 Environment: Apache Pig version 0.10.0-SNAPSHOT (rexported) Reporter: Dan Li Fix For: 0.12 Attachments: case1.tar We found the following simple logic will cause very long compiling time for pig 0.10.0, while using pig 0.8.1, everything is fine. A = load 'A.txt' using PigStorage() AS (m: int); B = FOREACH A { days_str = (chararray) (m == 1 ? 31: (m == 2 ? 28: (m == 3 ? 31: (m == 4 ? 30: (m == 5 ? 31: (m == 6 ? 30: (m == 7 ? 31: (m == 8 ? 31: (m == 9 ? 30: (m == 10 ? 31: (m == 11 ? 30:31))); GENERATE days_str as days_str; } store B into 'B'; and here's a simple input file example: A.txt 1 2 3 The pig version we used in the test Apache Pig version 0.10.0-SNAPSHOT (rexported) -- 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-2769) a simple logic causes very long compiling time on pig 0.10.0
[ https://issues.apache.org/jira/browse/PIG-2769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13469587#comment-13469587 ] Timothy Chen commented on PIG-2769: --- I'd like to look at this for my first bug fix for pig, as I've already glanced through the parsing and query plan code. Can't find a way to assign this to myself via Jira though, probably need someone else to do so? a simple logic causes very long compiling time on pig 0.10.0 Key: PIG-2769 URL: https://issues.apache.org/jira/browse/PIG-2769 Project: Pig Issue Type: Bug Components: build Affects Versions: 0.10.0 Environment: Apache Pig version 0.10.0-SNAPSHOT (rexported) Reporter: Dan Li Fix For: 0.11 Attachments: case1.tar We found the following simple logic will cause very long compiling time for pig 0.10.0, while using pig 0.8.1, everything is fine. A = load 'A.txt' using PigStorage() AS (m: int); B = FOREACH A { days_str = (chararray) (m == 1 ? 31: (m == 2 ? 28: (m == 3 ? 31: (m == 4 ? 30: (m == 5 ? 31: (m == 6 ? 30: (m == 7 ? 31: (m == 8 ? 31: (m == 9 ? 30: (m == 10 ? 31: (m == 11 ? 30:31))); GENERATE days_str as days_str; } store B into 'B'; and here's a simple input file example: A.txt 1 2 3 The pig version we used in the test Apache Pig version 0.10.0-SNAPSHOT (rexported) -- 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-2769) a simple logic causes very long compiling time on pig 0.10.0
[ https://issues.apache.org/jira/browse/PIG-2769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13469592#comment-13469592 ] Thejas M Nair commented on PIG-2769: I have assigned it to you. I have also added you to contributors list, now you should be able to assign jiras to yourself. a simple logic causes very long compiling time on pig 0.10.0 Key: PIG-2769 URL: https://issues.apache.org/jira/browse/PIG-2769 Project: Pig Issue Type: Bug Components: build Affects Versions: 0.10.0 Environment: Apache Pig version 0.10.0-SNAPSHOT (rexported) Reporter: Dan Li Assignee: Timothy Chen Fix For: 0.11 Attachments: case1.tar We found the following simple logic will cause very long compiling time for pig 0.10.0, while using pig 0.8.1, everything is fine. A = load 'A.txt' using PigStorage() AS (m: int); B = FOREACH A { days_str = (chararray) (m == 1 ? 31: (m == 2 ? 28: (m == 3 ? 31: (m == 4 ? 30: (m == 5 ? 31: (m == 6 ? 30: (m == 7 ? 31: (m == 8 ? 31: (m == 9 ? 30: (m == 10 ? 31: (m == 11 ? 30:31))); GENERATE days_str as days_str; } store B into 'B'; and here's a simple input file example: A.txt 1 2 3 The pig version we used in the test Apache Pig version 0.10.0-SNAPSHOT (rexported) -- 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-2769) a simple logic causes very long compiling time on pig 0.10.0
[ https://issues.apache.org/jira/browse/PIG-2769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13411717#comment-13411717 ] Dan Li commented on PIG-2769: - Hi, Daniel, I'm little bit confused. is this problem fixed or not? Thanks. Dan a simple logic causes very long compiling time on pig 0.10.0 Key: PIG-2769 URL: https://issues.apache.org/jira/browse/PIG-2769 Project: Pig Issue Type: Bug Components: build Affects Versions: 0.10.0 Environment: Apache Pig version 0.10.0-SNAPSHOT (rexported) Reporter: Dan Li Fix For: 0.11 Attachments: case1.tar We found the following simple logic will cause very long compiling time for pig 0.10.0, while using pig 0.8.1, everything is fine. A = load 'A.txt' using PigStorage() AS (m: int); B = FOREACH A { days_str = (chararray) (m == 1 ? 31: (m == 2 ? 28: (m == 3 ? 31: (m == 4 ? 30: (m == 5 ? 31: (m == 6 ? 30: (m == 7 ? 31: (m == 8 ? 31: (m == 9 ? 30: (m == 10 ? 31: (m == 11 ? 30:31))); GENERATE days_str as days_str; } store B into 'B'; and here's a simple input file example: A.txt 1 2 3 The pig version we used in the test Apache Pig version 0.10.0-SNAPSHOT (rexported) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (PIG-2769) a simple logic causes very long compiling time on pig 0.10.0
[ https://issues.apache.org/jira/browse/PIG-2769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13411811#comment-13411811 ] Daniel Dai commented on PIG-2769: - No, it is not fixed. 5 min to compile a plan is not acceptable. I am not saying a particular version works, just to post what I observe. Sorry for the confusion. We need to fix it. a simple logic causes very long compiling time on pig 0.10.0 Key: PIG-2769 URL: https://issues.apache.org/jira/browse/PIG-2769 Project: Pig Issue Type: Bug Components: build Affects Versions: 0.10.0 Environment: Apache Pig version 0.10.0-SNAPSHOT (rexported) Reporter: Dan Li Fix For: 0.11 Attachments: case1.tar We found the following simple logic will cause very long compiling time for pig 0.10.0, while using pig 0.8.1, everything is fine. A = load 'A.txt' using PigStorage() AS (m: int); B = FOREACH A { days_str = (chararray) (m == 1 ? 31: (m == 2 ? 28: (m == 3 ? 31: (m == 4 ? 30: (m == 5 ? 31: (m == 6 ? 30: (m == 7 ? 31: (m == 8 ? 31: (m == 9 ? 30: (m == 10 ? 31: (m == 11 ? 30:31))); GENERATE days_str as days_str; } store B into 'B'; and here's a simple input file example: A.txt 1 2 3 The pig version we used in the test Apache Pig version 0.10.0-SNAPSHOT (rexported) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (PIG-2769) a simple logic causes very long compiling time on pig 0.10.0
[ https://issues.apache.org/jira/browse/PIG-2769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13411968#comment-13411968 ] Dan Li commented on PIG-2769: - Thanks for the clarification, and looking forward to the fix. Dan a simple logic causes very long compiling time on pig 0.10.0 Key: PIG-2769 URL: https://issues.apache.org/jira/browse/PIG-2769 Project: Pig Issue Type: Bug Components: build Affects Versions: 0.10.0 Environment: Apache Pig version 0.10.0-SNAPSHOT (rexported) Reporter: Dan Li Fix For: 0.11 Attachments: case1.tar We found the following simple logic will cause very long compiling time for pig 0.10.0, while using pig 0.8.1, everything is fine. A = load 'A.txt' using PigStorage() AS (m: int); B = FOREACH A { days_str = (chararray) (m == 1 ? 31: (m == 2 ? 28: (m == 3 ? 31: (m == 4 ? 30: (m == 5 ? 31: (m == 6 ? 30: (m == 7 ? 31: (m == 8 ? 31: (m == 9 ? 30: (m == 10 ? 31: (m == 11 ? 30:31))); GENERATE days_str as days_str; } store B into 'B'; and here's a simple input file example: A.txt 1 2 3 The pig version we used in the test Apache Pig version 0.10.0-SNAPSHOT (rexported) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (PIG-2769) a simple logic causes very long compiling time on pig 0.10.0
[ https://issues.apache.org/jira/browse/PIG-2769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13410611#comment-13410611 ] Dan Li commented on PIG-2769: - Hi, Daniel, I tried to check out the revision 0.10.0 [ 12316246 ] , but got No such revision 12316246 error. The command I used is following svn co -r 12316246 http://svn.apache.org/repos/asf/pig/branches/branch-0.10/ Thanks. Dan a simple logic causes very long compiling time on pig 0.10.0 Key: PIG-2769 URL: https://issues.apache.org/jira/browse/PIG-2769 Project: Pig Issue Type: Bug Components: build Affects Versions: 0.10.0 Environment: Apache Pig version 0.10.0-SNAPSHOT (rexported) Reporter: Dan Li Fix For: 0.11 Attachments: case1.tar We found the following simple logic will cause very long compiling time for pig 0.10.0, while using pig 0.8.1, everything is fine. A = load 'A.txt' using PigStorage() AS (m: int); B = FOREACH A { days_str = (chararray) (m == 1 ? 31: (m == 2 ? 28: (m == 3 ? 31: (m == 4 ? 30: (m == 5 ? 31: (m == 6 ? 30: (m == 7 ? 31: (m == 8 ? 31: (m == 9 ? 30: (m == 10 ? 31: (m == 11 ? 30:31))); GENERATE days_str as days_str; } store B into 'B'; and here's a simple input file example: A.txt 1 2 3 The pig version we used in the test Apache Pig version 0.10.0-SNAPSHOT (rexported) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (PIG-2769) a simple logic causes very long compiling time on pig 0.10.0
[ https://issues.apache.org/jira/browse/PIG-2769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13410620#comment-13410620 ] Daniel Dai commented on PIG-2769: - What is revision 12316246? Where did you get this? a simple logic causes very long compiling time on pig 0.10.0 Key: PIG-2769 URL: https://issues.apache.org/jira/browse/PIG-2769 Project: Pig Issue Type: Bug Components: build Affects Versions: 0.10.0 Environment: Apache Pig version 0.10.0-SNAPSHOT (rexported) Reporter: Dan Li Fix For: 0.11 Attachments: case1.tar We found the following simple logic will cause very long compiling time for pig 0.10.0, while using pig 0.8.1, everything is fine. A = load 'A.txt' using PigStorage() AS (m: int); B = FOREACH A { days_str = (chararray) (m == 1 ? 31: (m == 2 ? 28: (m == 3 ? 31: (m == 4 ? 30: (m == 5 ? 31: (m == 6 ? 30: (m == 7 ? 31: (m == 8 ? 31: (m == 9 ? 30: (m == 10 ? 31: (m == 11 ? 30:31))); GENERATE days_str as days_str; } store B into 'B'; and here's a simple input file example: A.txt 1 2 3 The pig version we used in the test Apache Pig version 0.10.0-SNAPSHOT (rexported) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (PIG-2769) a simple logic causes very long compiling time on pig 0.10.0
[ https://issues.apache.org/jira/browse/PIG-2769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13410628#comment-13410628 ] Dan Li commented on PIG-2769: - From your comment on 27/Jun/12 18:43, is the number [ 12316246 ] the revision number? a simple logic causes very long compiling time on pig 0.10.0 Key: PIG-2769 URL: https://issues.apache.org/jira/browse/PIG-2769 Project: Pig Issue Type: Bug Components: build Affects Versions: 0.10.0 Environment: Apache Pig version 0.10.0-SNAPSHOT (rexported) Reporter: Dan Li Fix For: 0.11 Attachments: case1.tar We found the following simple logic will cause very long compiling time for pig 0.10.0, while using pig 0.8.1, everything is fine. A = load 'A.txt' using PigStorage() AS (m: int); B = FOREACH A { days_str = (chararray) (m == 1 ? 31: (m == 2 ? 28: (m == 3 ? 31: (m == 4 ? 30: (m == 5 ? 31: (m == 6 ? 30: (m == 7 ? 31: (m == 8 ? 31: (m == 9 ? 30: (m == 10 ? 31: (m == 11 ? 30:31))); GENERATE days_str as days_str; } store B into 'B'; and here's a simple input file example: A.txt 1 2 3 The pig version we used in the test Apache Pig version 0.10.0-SNAPSHOT (rexported) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (PIG-2769) a simple logic causes very long compiling time on pig 0.10.0
[ https://issues.apache.org/jira/browse/PIG-2769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13401785#comment-13401785 ] Dan Li commented on PIG-2769: - It's worth pointing out that Pig 0.9.2 also runs quickly; we only see the degradation with Pig 0.10.0. The degradation in performance seems to have a knee as 4 or 5 conditionals works as expected but as presented, the script takes about 6 minutes at the GRUNT prompt after hitting enter; before any Hadoop execution. -Clay a simple logic causes very long compiling time on pig 0.10.0 Key: PIG-2769 URL: https://issues.apache.org/jira/browse/PIG-2769 Project: Pig Issue Type: Bug Components: build Affects Versions: 0.10.0 Environment: Apache Pig version 0.10.0-SNAPSHOT (rexported) Reporter: Dan Li Fix For: 0.10.0 Attachments: case1.tar We found the following simple logic will cause very long compiling time for pig 0.10.0, while using pig 0.8.1, everything is fine. A = load 'A.txt' using PigStorage() AS (m: int); B = FOREACH A { days_str = (chararray) (m == 1 ? 31: (m == 2 ? 28: (m == 3 ? 31: (m == 4 ? 30: (m == 5 ? 31: (m == 6 ? 30: (m == 7 ? 31: (m == 8 ? 31: (m == 9 ? 30: (m == 10 ? 31: (m == 11 ? 30:31))); GENERATE days_str as days_str; } store B into 'B'; and here's a simple input file example: A.txt 1 2 3 The pig version we used in the test Apache Pig version 0.10.0-SNAPSHOT (rexported) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira