[jira] [Commented] (HIVE-17594) Unit format error in Copy.java

2017-09-26 Thread Saijin Huang (JIRA)

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

Saijin Huang commented on HIVE-17594:
-

[~dmtolpeko],Thanks for your review and commit!

> Unit format error in Copy.java
> --
>
> Key: HIVE-17594
> URL: https://issues.apache.org/jira/browse/HIVE-17594
> Project: Hive
>  Issue Type: Bug
>  Components: hpl/sql
>Affects Versions: 3.0.0
>Reporter: Saijin Huang
>Assignee: Saijin Huang
>Priority: Minor
> Fix For: 3.0.0
>
> Attachments: HIVE-17594.1.patch
>
>
> In Copy.java,line 273,the unit "rows/sec" is inconsistent with the actual 
> value "rows/elapsed/1000.0".



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (HIVE-17594) Unit format error in Copy.java

2017-09-26 Thread Dmitry Tolpeko (JIRA)

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

Dmitry Tolpeko commented on HIVE-17594:
---

I committed the patch. 

> Unit format error in Copy.java
> --
>
> Key: HIVE-17594
> URL: https://issues.apache.org/jira/browse/HIVE-17594
> Project: Hive
>  Issue Type: Bug
>  Components: hpl/sql
>Affects Versions: 3.0.0
>Reporter: Saijin Huang
>Assignee: Saijin Huang
>Priority: Minor
> Attachments: HIVE-17594.1.patch
>
>
> In Copy.java,line 273,the unit "rows/sec" is inconsistent with the actual 
> value "rows/elapsed/1000.0".



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (HIVE-17594) Unit format error in Copy.java

2017-09-25 Thread Saijin Huang (JIRA)

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

Saijin Huang commented on HIVE-17594:
-

[~dmtolpeko],the examples is list above.Can you plz take a quick review and 
quick commit?

> Unit format error in Copy.java
> --
>
> Key: HIVE-17594
> URL: https://issues.apache.org/jira/browse/HIVE-17594
> Project: Hive
>  Issue Type: Bug
>  Components: hpl/sql
>Affects Versions: 3.0.0
>Reporter: Saijin Huang
>Assignee: Saijin Huang
>Priority: Minor
> Attachments: HIVE-17594.1.patch
>
>
> In Copy.java,line 273,the unit "rows/sec" is inconsistent with the actual 
> value "rows/elapsed/1000.0".



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (HIVE-17594) Unit format error in Copy.java

2017-09-25 Thread Hive QA (JIRA)

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

Hive QA commented on HIVE-17594:




Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12888784/HIVE-17594.1.patch

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 6 failed/errored test(s), 11061 tests 
executed
*Failed tests:*
{noformat}
TestAccumuloCliDriver - did not produce a TEST-*.xml file (likely timed out) 
(batchId=231)
TestDummy - did not produce a TEST-*.xml file (likely timed out) (batchId=231)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[union_fast_stats]
 (batchId=156)
org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver[spark_explainuser_1]
 (batchId=170)
org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query14] 
(batchId=235)
org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query23] 
(batchId=235)
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/6975/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/6975/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-6975/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 6 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12888784 - PreCommit-HIVE-Build

> Unit format error in Copy.java
> --
>
> Key: HIVE-17594
> URL: https://issues.apache.org/jira/browse/HIVE-17594
> Project: Hive
>  Issue Type: Bug
>  Components: hpl/sql
>Affects Versions: 3.0.0
>Reporter: Saijin Huang
>Assignee: Saijin Huang
>Priority: Minor
> Attachments: HIVE-17594.1.patch
>
>
> In Copy.java,line 273,the unit "rows/sec" is inconsistent with the actual 
> value "rows/elapsed/1000.0".



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (HIVE-17594) Unit format error in Copy.java

2017-09-25 Thread Saijin Huang (JIRA)

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

Saijin Huang commented on HIVE-17594:
-

[~dmtolpeko], i repoduce the problem according to the test file 
copy_to_file.sql.
--
reporduce:

before modification
1.hive -e "create table src(id int);insert into src values(2)"
2.hplsql -e "copy src to src.txt;" 
3.the result is "
Ln:1 Query executed: 1 columns, output file: src.txt
Ln:1 COPY completed: 1 row(s), 2 bytes, 55 ms, 0 rows/sec
"
the speed is not correct.

after modification
1.hive -e "create table src(id int);insert into src values(2)"
2.hplsql -e "copy src to src.txt;" 
3.the result is "
Ln:1 Query executed: 1 columns, output file: src1.txt
Ln:1 COPY completed: 1 row(s), 2 bytes, 457 ms, 2.19 rows/sec
" 
the speed is correct.

> Unit format error in Copy.java
> --
>
> Key: HIVE-17594
> URL: https://issues.apache.org/jira/browse/HIVE-17594
> Project: Hive
>  Issue Type: Bug
>  Components: hpl/sql
>Affects Versions: 3.0.0
>Reporter: Saijin Huang
>Assignee: Saijin Huang
>Priority: Minor
> Attachments: HIVE-17594.1.patch
>
>
> In Copy.java,line 273,the unit "rows/sec" is inconsistent with the actual 
> value "rows/elapsed/1000.0".



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (HIVE-17594) Unit format error in Copy.java

2017-09-25 Thread Dmitry Tolpeko (JIRA)

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

Dmitry Tolpeko commented on HIVE-17594:
---

Can you please provide an example so I can add a test?

> Unit format error in Copy.java
> --
>
> Key: HIVE-17594
> URL: https://issues.apache.org/jira/browse/HIVE-17594
> Project: Hive
>  Issue Type: Bug
>  Components: hpl/sql
>Affects Versions: 3.0.0
>Reporter: Saijin Huang
>Assignee: Saijin Huang
>Priority: Minor
> Attachments: HIVE-17594.1.patch
>
>
> In Copy.java,line 273,the unit "rows/sec" is inconsistent with the actual 
> value "rows/elapsed/1000.0".



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)