[jira] [Commented] (HIVE-2151) Too many open files in running negative cli tests

2011-05-12 Thread Hudson (JIRA)

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

Hudson commented on HIVE-2151:
--

Integrated in Hive-trunk-h0.20 #726 (See 
[https://builds.apache.org/hudson/job/Hive-trunk-h0.20/726/])


> Too many open files in running negative cli tests
> -
>
> Key: HIVE-2151
> URL: https://issues.apache.org/jira/browse/HIVE-2151
> Project: Hive
>  Issue Type: Bug
>  Components: CLI, Testing Infrastructure
>Reporter: He Yongqiang
>Assignee: He Yongqiang
> Fix For: 0.8.0
>
> Attachments: HIVE-2151.1.patch, HIVE-2151.2.patch, HIVE-2151.3.patch, 
> HIVE-2151.4.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-2151) Too many open files in running negative cli tests

2011-05-09 Thread Ning Zhang (JIRA)

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

Ning Zhang commented on HIVE-2151:
--

Yongqiang, you can reference the build directory using 
'${system:build.dir.hive}', which is defined in build-common.xml. Can you open 
a JIRA and fix all such index tests? 

> Too many open files in running negative cli tests
> -
>
> Key: HIVE-2151
> URL: https://issues.apache.org/jira/browse/HIVE-2151
> Project: Hive
>  Issue Type: Bug
>  Components: CLI, Testing Infrastructure
>Reporter: He Yongqiang
>Assignee: He Yongqiang
> Attachments: HIVE-2151.1.patch, HIVE-2151.2.patch, HIVE-2151.3.patch, 
> HIVE-2151.4.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-2151) Too many open files in running negative cli tests

2011-05-09 Thread He Yongqiang (JIRA)

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

He Yongqiang commented on HIVE-2151:


Good catch, Ning! At least we should make sure the /tmp/xxx dir got removed at 
the end of the testcase, if making it use build/tmp/ is not easy to do. 

> Too many open files in running negative cli tests
> -
>
> Key: HIVE-2151
> URL: https://issues.apache.org/jira/browse/HIVE-2151
> Project: Hive
>  Issue Type: Bug
>  Components: CLI, Testing Infrastructure
>Reporter: He Yongqiang
>Assignee: He Yongqiang
> Attachments: HIVE-2151.1.patch, HIVE-2151.2.patch, HIVE-2151.3.patch, 
> HIVE-2151.4.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-2151) Too many open files in running negative cli tests

2011-05-09 Thread Ning Zhang (JIRA)

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

Ning Zhang commented on HIVE-2151:
--

OK. I got why it failed. index_auto.q build index to /tmp/index_where. I had 
run the test before under root, which makes the owner of /tmp/index_where root. 
Running the same test using my own user will fail because of write permission. 

Going forward I think we should change all index building tests to make results 
under trunk/build/ rather than /tmp, so that ant clean will clean all side 
effects.

> Too many open files in running negative cli tests
> -
>
> Key: HIVE-2151
> URL: https://issues.apache.org/jira/browse/HIVE-2151
> Project: Hive
>  Issue Type: Bug
>  Components: CLI, Testing Infrastructure
>Reporter: He Yongqiang
>Assignee: He Yongqiang
> Attachments: HIVE-2151.1.patch, HIVE-2151.2.patch, HIVE-2151.3.patch, 
> HIVE-2151.4.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-2151) Too many open files in running negative cli tests

2011-05-09 Thread He Yongqiang (JIRA)

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

He Yongqiang commented on HIVE-2151:


i got a failure on a clean check out when running index_auto.q. But when i run 
again, the error is not there. And also after apply the patch, there is also no 
error. 

Ning, can you do a 'ant clean run'?

> Too many open files in running negative cli tests
> -
>
> Key: HIVE-2151
> URL: https://issues.apache.org/jira/browse/HIVE-2151
> Project: Hive
>  Issue Type: Bug
>  Components: CLI, Testing Infrastructure
>Reporter: He Yongqiang
>Assignee: He Yongqiang
> Attachments: HIVE-2151.1.patch, HIVE-2151.2.patch, HIVE-2151.3.patch, 
> HIVE-2151.4.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-2151) Too many open files in running negative cli tests

2011-05-09 Thread John Sichi (JIRA)

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

John Sichi commented on HIVE-2151:
--

It has been passing fine in Jenkins:

https://builds.apache.org/hudson/job/Hive-trunk-h0.20/717/


> Too many open files in running negative cli tests
> -
>
> Key: HIVE-2151
> URL: https://issues.apache.org/jira/browse/HIVE-2151
> Project: Hive
>  Issue Type: Bug
>  Components: CLI, Testing Infrastructure
>Reporter: He Yongqiang
>Assignee: He Yongqiang
> Attachments: HIVE-2151.1.patch, HIVE-2151.2.patch, HIVE-2151.3.patch, 
> HIVE-2151.4.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-2151) Too many open files in running negative cli tests

2011-05-09 Thread He Yongqiang (JIRA)

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

He Yongqiang commented on HIVE-2151:


Ning, it seems the index_auto.q still fail without this patch. Can you verify?

> Too many open files in running negative cli tests
> -
>
> Key: HIVE-2151
> URL: https://issues.apache.org/jira/browse/HIVE-2151
> Project: Hive
>  Issue Type: Bug
>  Components: CLI, Testing Infrastructure
>Reporter: He Yongqiang
>Assignee: He Yongqiang
> Attachments: HIVE-2151.1.patch, HIVE-2151.2.patch, HIVE-2151.3.patch, 
> HIVE-2151.4.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-2151) Too many open files in running negative cli tests

2011-05-09 Thread Ning Zhang (JIRA)

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

Ning Zhang commented on HIVE-2151:
--

Yongqiang, the TestClilDriver failed (index_auto.q, etc.). It seems the change 
is conflict with the recent bitmap index changes. Can you take a look? 

> Too many open files in running negative cli tests
> -
>
> Key: HIVE-2151
> URL: https://issues.apache.org/jira/browse/HIVE-2151
> Project: Hive
>  Issue Type: Bug
>  Components: CLI, Testing Infrastructure
>Reporter: He Yongqiang
>Assignee: He Yongqiang
> Attachments: HIVE-2151.1.patch, HIVE-2151.2.patch, HIVE-2151.3.patch, 
> HIVE-2151.4.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-2151) Too many open files in running negative cli tests

2011-05-09 Thread Ning Zhang (JIRA)

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

Ning Zhang commented on HIVE-2151:
--

+1. Will commit if tests pass

> Too many open files in running negative cli tests
> -
>
> Key: HIVE-2151
> URL: https://issues.apache.org/jira/browse/HIVE-2151
> Project: Hive
>  Issue Type: Bug
>  Components: CLI, Testing Infrastructure
>Reporter: He Yongqiang
>Assignee: He Yongqiang
> Attachments: HIVE-2151.1.patch, HIVE-2151.2.patch, HIVE-2151.3.patch, 
> HIVE-2151.4.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-2151) Too many open files in running negative cli tests

2011-05-09 Thread jirapos...@reviews.apache.org (JIRA)

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

jirapos...@reviews.apache.org commented on HIVE-2151:
-


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/696/
---

(Updated 2011-05-09 17:15:15.221624)


Review request for hive.


Changes
---

reverted the change in ZooKeeperHiveLockManager's close, but put a zookeeper 
close in removeReduantNodes
added more comments in Driver.


Summary
---

Too many open files in running negative cli tests


This addresses bug HIVE-2151.
https://issues.apache.org/jira/browse/HIVE-2151


Diffs (updated)
-

  trunk/ql/src/java/org/apache/hadoop/hive/ql/Driver.java 1101116 
  
trunk/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/zookeeper/ZooKeeperHiveLockManager.java
 1101116 

Diff: https://reviews.apache.org/r/696/diff


Testing
---


Thanks,

Yongqiang



> Too many open files in running negative cli tests
> -
>
> Key: HIVE-2151
> URL: https://issues.apache.org/jira/browse/HIVE-2151
> Project: Hive
>  Issue Type: Bug
>  Components: CLI, Testing Infrastructure
>Reporter: He Yongqiang
>Assignee: He Yongqiang
> Attachments: HIVE-2151.1.patch, HIVE-2151.2.patch, HIVE-2151.3.patch, 
> HIVE-2151.4.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-2151) Too many open files in running negative cli tests

2011-05-09 Thread He Yongqiang (JIRA)

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

He Yongqiang commented on HIVE-2151:


Talked with namit offline, this new patch reverted the change in 
ZooKeeperHiveLockManager's close, but put a zookeeper close in 
removeReduantNodes.
Also added more comments in Driver to address Ning's last comments.

> Too many open files in running negative cli tests
> -
>
> Key: HIVE-2151
> URL: https://issues.apache.org/jira/browse/HIVE-2151
> Project: Hive
>  Issue Type: Bug
>  Components: CLI, Testing Infrastructure
>Reporter: He Yongqiang
>Assignee: He Yongqiang
> Attachments: HIVE-2151.1.patch, HIVE-2151.2.patch, HIVE-2151.3.patch, 
> HIVE-2151.4.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-2151) Too many open files in running negative cli tests

2011-05-07 Thread He Yongqiang (JIRA)

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

He Yongqiang commented on HIVE-2151:


removeAllRedundantNodes() leaks a zookeeper connection. it should be put before 
closing zookeeper instance because it is still using the zookeeper instance.

> Too many open files in running negative cli tests
> -
>
> Key: HIVE-2151
> URL: https://issues.apache.org/jira/browse/HIVE-2151
> Project: Hive
>  Issue Type: Bug
>  Components: CLI, Testing Infrastructure
>Reporter: He Yongqiang
>Assignee: He Yongqiang
> Attachments: HIVE-2151.1.patch, HIVE-2151.2.patch, HIVE-2151.3.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-2151) Too many open files in running negative cli tests

2011-05-07 Thread Ning Zhang (JIRA)

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

Ning Zhang commented on HIVE-2151:
--

Can you update the review board with the latest patch? It's much easier to add 
comments.

In ZooKeeperHiveLockManager.close(), I'm not sure if the change is desired. 
According to the comment, it simply close the client to release transient 
locks. The later removeAllRedundantNodes() call may be needed after the client 
close to clean up further. So changing the order may results in undesired 
behavior. Namit, can you comment on this?

Driver.java:148, add comments wht ctx needs to set HiveLockManager. 

> Too many open files in running negative cli tests
> -
>
> Key: HIVE-2151
> URL: https://issues.apache.org/jira/browse/HIVE-2151
> Project: Hive
>  Issue Type: Bug
>  Components: CLI, Testing Infrastructure
>Reporter: He Yongqiang
>Assignee: He Yongqiang
> Attachments: HIVE-2151.1.patch, HIVE-2151.2.patch, HIVE-2151.3.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-2151) Too many open files in running negative cli tests

2011-05-06 Thread jirapos...@reviews.apache.org (JIRA)

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

jirapos...@reviews.apache.org commented on HIVE-2151:
-


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/696/
---

(Updated 2011-05-06 19:17:48.260294)


Review request for hive.


Changes
---

new diff


Summary
---

Too many open files in running negative cli tests


This addresses bug HIVE-2151.
https://issues.apache.org/jira/browse/HIVE-2151


Diffs (updated)
-

  trunk/ql/src/java/org/apache/hadoop/hive/ql/Driver.java 1100117 

Diff: https://reviews.apache.org/r/696/diff


Testing
---


Thanks,

Yongqiang



> Too many open files in running negative cli tests
> -
>
> Key: HIVE-2151
> URL: https://issues.apache.org/jira/browse/HIVE-2151
> Project: Hive
>  Issue Type: Bug
>  Components: CLI, Testing Infrastructure
>Reporter: He Yongqiang
>Assignee: He Yongqiang
> Attachments: HIVE-2151.1.patch, HIVE-2151.2.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-2151) Too many open files in running negative cli tests

2011-05-06 Thread jirapos...@reviews.apache.org (JIRA)

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

jirapos...@reviews.apache.org commented on HIVE-2151:
-


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/696/
---

Review request for hive.


Summary
---

Too many open files in running negative cli tests


This addresses bug HIVE-2151.
https://issues.apache.org/jira/browse/HIVE-2151


Diffs
-

  trunk/ql/src/java/org/apache/hadoop/hive/ql/Driver.java 1100117 

Diff: https://reviews.apache.org/r/696/diff


Testing
---


Thanks,

Yongqiang



> Too many open files in running negative cli tests
> -
>
> Key: HIVE-2151
> URL: https://issues.apache.org/jira/browse/HIVE-2151
> Project: Hive
>  Issue Type: Bug
>  Components: CLI, Testing Infrastructure
>Reporter: He Yongqiang
>Assignee: He Yongqiang
> Attachments: HIVE-2151.1.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-2151) Too many open files in running negative cli tests

2011-05-05 Thread Ashutosh Chauhan (JIRA)

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

Ashutosh Chauhan commented on HIVE-2151:


I have hit this issue too.

> Too many open files in running negative cli tests
> -
>
> Key: HIVE-2151
> URL: https://issues.apache.org/jira/browse/HIVE-2151
> Project: Hive
>  Issue Type: Bug
>  Components: CLI, Testing Infrastructure
>Reporter: He Yongqiang
>Assignee: He Yongqiang
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira