How To Read Hive Sourcecode

2014-10-28 Thread Johnny
Hi Guys, I’m going to read hive source code, but I couldn't find any hive structure pictures,or articles . Is there anybody can help me to make a snapshot of hive structure .And if you tell me how to analysis the source code that will help me a lot . Thank you all. Best Regards -- Johnny

[jira] [Updated] (HIVE-2670) A cluster test utility for Hive

2013-06-03 Thread Johnny Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Johnny Zhang updated HIVE-2670: --- Attachment: HIVE-2670_6.patch Daniel, thanks for catching this :) I thought it should be 'sor

[jira] [Commented] (HIVE-2670) A cluster test utility for Hive

2013-05-22 Thread Johnny Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13664390#comment-13664390 ] Johnny Zhang commented on HIVE-2670: Alan, Thanks for the update!

[jira] [Updated] (HIVE-2670) A cluster test utility for Hive

2013-02-14 Thread Johnny Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Johnny Zhang updated HIVE-2670: --- Status: Patch Available (was: Open) [~alangates], please let me know what do you think about the

[jira] [Updated] (HIVE-3977) Hive 0.10 postgres schema script is broken

2013-02-01 Thread Johnny Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-3977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Johnny Zhang updated HIVE-3977: --- Status: Patch Available (was: Open) fix is straightforward, I will not bother using reviewboard

[jira] [Updated] (HIVE-3977) Hive 0.10 postgres schema script is broken

2013-02-01 Thread Johnny Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-3977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Johnny Zhang updated HIVE-3977: --- Attachment: HIVE-3977.patch.txt > Hive 0.10 postgres schema script is bro

[jira] [Created] (HIVE-3977) Hive 0.10 postgres schema script is broken

2013-02-01 Thread Johnny Zhang (JIRA)
Johnny Zhang created HIVE-3977: -- Summary: Hive 0.10 postgres schema script is broken Key: HIVE-3977 URL: https://issues.apache.org/jira/browse/HIVE-3977 Project: Hive Issue Type: Bug

[jira] [Commented] (HIVE-2670) A cluster test utility for Hive

2013-01-25 Thread Johnny Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13562937#comment-13562937 ] Johnny Zhang commented on HIVE-2670: sorry for multiple comments, 'hive_clust

[jira] [Updated] (HIVE-2670) A cluster test utility for Hive

2013-01-25 Thread Johnny Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Johnny Zhang updated HIVE-2670: --- Attachment: hive_cluster_test_4.patch [~alangates], 'hive_cluster_test_4.patch' is the la

Re: Review Request: float and double calculation is inaccurate in Hive

2012-12-17 Thread Johnny Zhang
; 10 seems to be a rather arbitrary number for scale. Any particular > > reason you are using it? Maybe we should invoke the method where no scale > > needs to be specified. > > Johnny Zhang wrote: > Hi, Mark, thanks for reviewing it. The reason using 10 is because it

Re: Review Request: float and double calculation is inaccurate in Hive

2012-12-17 Thread Johnny Zhang
imilar discussion regarding it http://www.coderanch.com/t/408226/java/java/Double-BigDecimal-Conversion-problems "you will see the difference between creating an instance using a double (whose precision has already been compromised by forcing it into IEEE 754 standards) and creating

Re: Review Request: float and double calculation is inaccurate in Hive

2012-12-17 Thread Johnny Zhang
result: 48309 48792.07027343754830.898046875 hive result:48308.9848792.07027343754830.898046875 I apply this patch and run the hive e2e test, and the tests all pass (without this patch, 5 related failures) Thanks, Johnny Zhang

[jira] [Updated] (HIVE-3715) float and double calculation is inaccurate in Hive

2012-12-17 Thread Johnny Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-3715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Johnny Zhang updated HIVE-3715: --- Status: Patch Available (was: Open) > float and double calculation is inaccurate in H

[jira] [Updated] (HIVE-3715) float and double calculation is inaccurate in Hive

2012-12-17 Thread Johnny Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-3715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Johnny Zhang updated HIVE-3715: --- Attachment: HIVE-3715.patch.txt the reviewboard link https://reviews.apache.org/r/8653

Review Request: float and double calculation is inaccurate in Hive

2012-12-17 Thread Johnny Zhang
875 hive result:48308.9848792.07027343754830.898046875 I apply this patch and run the hive e2e test, and the tests all pass (without this patch, 5 related failures) Thanks, Johnny Zhang

[jira] [Commented] (HIVE-2670) A cluster test utility for Hive

2012-12-10 Thread Johnny Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13528601#comment-13528601 ] Johnny Zhang commented on HIVE-2670: [~alangates], regarding two HCat test c

[jira] [Updated] (HIVE-2670) A cluster test utility for Hive

2012-12-10 Thread Johnny Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Johnny Zhang updated HIVE-2670: --- Attachment: hive_cluster_test_3.patch with this patch and my patch for HIVE-3715, I got a clean run

[jira] [Updated] (HIVE-3715) float and double calculation is inaccurate in Hive

2012-11-16 Thread Johnny Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-3715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Johnny Zhang updated HIVE-3715: --- Summary: float and double calculation is inaccurate in Hive (was: float and double miss calculation

[jira] [Created] (HIVE-3715) float and double miss calculation is inaccurate in Hive

2012-11-16 Thread Johnny Zhang (JIRA)
Johnny Zhang created HIVE-3715: -- Summary: float and double miss calculation is inaccurate in Hive Key: HIVE-3715 URL: https://issues.apache.org/jira/browse/HIVE-3715 Project: Hive Issue Type

[jira] [Commented] (HIVE-2670) A cluster test utility for Hive

2012-11-14 Thread Johnny Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13497551#comment-13497551 ] Johnny Zhang commented on HIVE-2670: {noformat} Final results , PASSED: 101 FAILE

[jira] [Updated] (HIVE-3666) implement a udf to keep hive session alive for certain amount of time

2012-11-09 Thread Johnny Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-3666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Johnny Zhang updated HIVE-3666: --- Attachment: HIVE-3666.patch > implement a udf to keep hive session alive for certain amount

Re: Review Request: implement a udf to keep hive session alive for certain amount of time

2012-11-09 Thread Johnny Zhang
a/org/apache/hadoop/hive/ql/udf/generic/GenericUDFSleep.java PRE-CREATION Diff: https://reviews.apache.org/r/7848/diff/ Testing --- have tested it with Hive CLI and Hive Server session, and it can keep them alive by the given seconds Thanks, Johnny Zhang

Re: Review Request: implement a udf to keep hive session alive for certain amount of time

2012-11-09 Thread Johnny Zhang
my opinion, InterruptedException should be wrapped into a > > HiveException and then thrown. agree, will fix it > On Nov. 4, 2012, 4:59 a.m., Mark Grover wrote: > > http://svn.apache.org/repos/asf/hive/trunk/ql/src/java/org/apache

[jira] [Commented] (HIVE-3666) implement a udf to keep hive session alive for certain amount of time

2012-11-02 Thread Johnny Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-3666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13489909#comment-13489909 ] Johnny Zhang commented on HIVE-3666: [~shreepadma], thanks for remind, here is

Review Request: implement a udf to keep hive session alive for certain amount of time

2012-11-02 Thread Johnny Zhang
--- have tested it with Hive CLI and Hive Server session, and it can keep them alive by the given seconds Thanks, Johnny Zhang

[jira] [Updated] (HIVE-3666) implement a udf to keep hive session alive for certain amount of time

2012-11-02 Thread Johnny Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-3666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Johnny Zhang updated HIVE-3666: --- Attachment: HIVE-3666.patch > implement a udf to keep hive session alive for certain amount

[jira] [Updated] (HIVE-3666) implement a udf to keep hive session alive for certain amount of time

2012-11-02 Thread Johnny Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-3666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Johnny Zhang updated HIVE-3666: --- Attachment: (was: HIVE-3666.patch) > implement a udf to keep hive session alive for cert

[jira] [Updated] (HIVE-3666) implement a udf to keep hive session alive for certain amount of time

2012-11-02 Thread Johnny Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-3666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Johnny Zhang updated HIVE-3666: --- Attachment: HIVE-3666.patch > implement a udf to keep hive session alive for certain amount

[jira] [Created] (HIVE-3666) implement a udf to keep hive session alive for certain amount of time

2012-11-02 Thread Johnny Zhang (JIRA)
Johnny Zhang created HIVE-3666: -- Summary: implement a udf to keep hive session alive for certain amount of time Key: HIVE-3666 URL: https://issues.apache.org/jira/browse/HIVE-3666 Project: Hive

[jira] [Updated] (HIVE-3666) implement a udf to keep hive session alive for certain amount of time

2012-11-02 Thread Johnny Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-3666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Johnny Zhang updated HIVE-3666: --- Status: Patch Available (was: Open) > implement a udf to keep hive session alive for cert

[jira] [Assigned] (HIVE-2670) A cluster test utility for Hive

2012-10-22 Thread Johnny Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Johnny Zhang reassigned HIVE-2670: -- Assignee: Johnny Zhang (was: Zhenxiao Luo) > A cluster test utility for H

[jira] [Commented] (HIVE-2670) A cluster test utility for Hive

2012-10-22 Thread Johnny Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-2670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13481899#comment-13481899 ] Johnny Zhang commented on HIVE-2670: I just apply the patch and successfully de

[jira] [Commented] (HIVE-3535) derby metastore upgrade script throw errors when updating from 0.7 to 0.8

2012-10-08 Thread Johnny Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-3535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13471877#comment-13471877 ] Johnny Zhang commented on HIVE-3535: I verified the patch works, please commi