[jira] [Commented] (HIVE-10304) Add deprecation message to HiveCLI

2015-08-17 Thread Shannon Ladymon (JIRA)

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

Shannon Ladymon commented on HIVE-10304:


Thanks for the info!

> Add deprecation message to HiveCLI
> --
>
> Key: HIVE-10304
> URL: https://issues.apache.org/jira/browse/HIVE-10304
> Project: Hive
>  Issue Type: Sub-task
>  Components: CLI
>Affects Versions: 1.1.0
>Reporter: Szehon Ho
>Assignee: Szehon Ho
>  Labels: TODOC1.2
> Attachments: HIVE-10304.2.patch, HIVE-10304.3.patch, HIVE-10304.patch
>
>
> As Beeline is now the recommended command line tool to Hive, we should add a 
> message to HiveCLI to indicate that it is deprecated and redirect them to 
> Beeline.  
> This is not suggesting to remove HiveCLI for now, but just a helpful 
> direction for user to know the direction to focus attention in Beeline.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-10304) Add deprecation message to HiveCLI

2015-08-17 Thread Ferdinand Xu (JIRA)

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

Ferdinand Xu commented on HIVE-10304:
-

I am working on the smoke test and waiting for the fix of HIVE-11579. I think 
we can begin the process of merging beeline-cli into the master in 1~2 weeks if 
smoke test goes well.

> Add deprecation message to HiveCLI
> --
>
> Key: HIVE-10304
> URL: https://issues.apache.org/jira/browse/HIVE-10304
> Project: Hive
>  Issue Type: Sub-task
>  Components: CLI
>Affects Versions: 1.1.0
>Reporter: Szehon Ho
>Assignee: Szehon Ho
>  Labels: TODOC1.2
> Attachments: HIVE-10304.2.patch, HIVE-10304.3.patch, HIVE-10304.patch
>
>
> As Beeline is now the recommended command line tool to Hive, we should add a 
> message to HiveCLI to indicate that it is deprecated and redirect them to 
> Beeline.  
> This is not suggesting to remove HiveCLI for now, but just a helpful 
> direction for user to know the direction to focus attention in Beeline.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-10304) Add deprecation message to HiveCLI

2015-08-17 Thread Shannon Ladymon (JIRA)

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

Shannon Ladymon commented on HIVE-10304:


Can I get an update on the current status of the deprecation of HiveCLI?  I 
would like to add more information to the [Hive wiki | 
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Cli] about the 
deprecation, including a Hive version number for when it was/will be deprecated.

> Add deprecation message to HiveCLI
> --
>
> Key: HIVE-10304
> URL: https://issues.apache.org/jira/browse/HIVE-10304
> Project: Hive
>  Issue Type: Sub-task
>  Components: CLI
>Affects Versions: 1.1.0
>Reporter: Szehon Ho
>Assignee: Szehon Ho
>  Labels: TODOC1.2
> Attachments: HIVE-10304.2.patch, HIVE-10304.3.patch, HIVE-10304.patch
>
>
> As Beeline is now the recommended command line tool to Hive, we should add a 
> message to HiveCLI to indicate that it is deprecated and redirect them to 
> Beeline.  
> This is not suggesting to remove HiveCLI for now, but just a helpful 
> direction for user to know the direction to focus attention in Beeline.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-10304) Add deprecation message to HiveCLI

2015-05-26 Thread Xuefu Zhang (JIRA)

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

Xuefu Zhang commented on HIVE-10304:


The final decision will be replacing Hive CLI's implementation with beeline 
(HIVE-10511). You still have the script.

Since you have so many scripts using Hive CLI. When HIVE-10511 is in place, it 
would be great if you can test it with your script. Thanks.

> Add deprecation message to HiveCLI
> --
>
> Key: HIVE-10304
> URL: https://issues.apache.org/jira/browse/HIVE-10304
> Project: Hive
>  Issue Type: Sub-task
>  Components: CLI
>Affects Versions: 1.1.0
>Reporter: Szehon Ho
>Assignee: Szehon Ho
>  Labels: TODOC1.2
> Attachments: HIVE-10304.2.patch, HIVE-10304.3.patch, HIVE-10304.patch
>
>
> As Beeline is now the recommended command line tool to Hive, we should add a 
> message to HiveCLI to indicate that it is deprecated and redirect them to 
> Beeline.  
> This is not suggesting to remove HiveCLI for now, but just a helpful 
> direction for user to know the direction to focus attention in Beeline.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-10304) Add deprecation message to HiveCLI

2015-05-26 Thread Hari Sekhon (JIRA)

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

Hari Sekhon commented on HIVE-10304:


If just recommending to users to use Beeline instead of Hive CLI that is fine 
but if Hive 1 CLI was every removed that would cause major headaches to users 
such as myself who have lots of scripts and programs that make calls to Hive 
CLI and rewriting things that already work fine for years is not cool. In fact 
it's the opposite of cool.

> Add deprecation message to HiveCLI
> --
>
> Key: HIVE-10304
> URL: https://issues.apache.org/jira/browse/HIVE-10304
> Project: Hive
>  Issue Type: Sub-task
>  Components: CLI
>Affects Versions: 1.1.0
>Reporter: Szehon Ho
>Assignee: Szehon Ho
>  Labels: TODOC1.2
> Attachments: HIVE-10304.2.patch, HIVE-10304.3.patch, HIVE-10304.patch
>
>
> As Beeline is now the recommended command line tool to Hive, we should add a 
> message to HiveCLI to indicate that it is deprecated and redirect them to 
> Beeline.  
> This is not suggesting to remove HiveCLI for now, but just a helpful 
> direction for user to know the direction to focus attention in Beeline.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-10304) Add deprecation message to HiveCLI

2015-05-08 Thread Sushanth Sowmyan (JIRA)

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

Sushanth Sowmyan commented on HIVE-10304:
-

Removing fix version of 1.2.0 in preparation of release, since this is not a 
blocker for 1.2.0.

> Add deprecation message to HiveCLI
> --
>
> Key: HIVE-10304
> URL: https://issues.apache.org/jira/browse/HIVE-10304
> Project: Hive
>  Issue Type: Improvement
>  Components: CLI
>Affects Versions: 1.1.0
>Reporter: Szehon Ho
>Assignee: Szehon Ho
>  Labels: TODOC1.2
> Attachments: HIVE-10304.2.patch, HIVE-10304.3.patch, HIVE-10304.patch
>
>
> As Beeline is now the recommended command line tool to Hive, we should add a 
> message to HiveCLI to indicate that it is deprecated and redirect them to 
> Beeline.  
> This is not suggesting to remove HiveCLI for now, but just a helpful 
> direction for user to know the direction to focus attention in Beeline.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-10304) Add deprecation message to HiveCLI

2015-04-16 Thread Lefty Leverenz (JIRA)

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

Lefty Leverenz commented on HIVE-10304:
---

Good docs, [~szehon]!  I tinkered with them a bit and changed the deprecation 
statement in the CLI doc to future tense ("Hive CLI will soon be deprecated").  
If this jira gets reverted, that can remain and the Tutorial changes are fine 
so we'd just have to edit a few places in Getting Started.

> Add deprecation message to HiveCLI
> --
>
> Key: HIVE-10304
> URL: https://issues.apache.org/jira/browse/HIVE-10304
> Project: Hive
>  Issue Type: Improvement
>  Components: CLI
>Affects Versions: 1.1.0
>Reporter: Szehon Ho
>Assignee: Szehon Ho
>  Labels: TODOC1.2
> Fix For: 1.2.0
>
> Attachments: HIVE-10304.2.patch, HIVE-10304.3.patch, HIVE-10304.patch
>
>
> As Beeline is now the recommended command line tool to Hive, we should add a 
> message to HiveCLI to indicate that it is deprecated and redirect them to 
> Beeline.  
> This is not suggesting to remove HiveCLI for now, but just a helpful 
> direction for user to know the direction to focus attention in Beeline.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-10304) Add deprecation message to HiveCLI

2015-04-16 Thread Szehon Ho (JIRA)

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

Szehon Ho commented on HIVE-10304:
--

OK, filed HIVE-10374 for reversion while discussion is ongoing.

> Add deprecation message to HiveCLI
> --
>
> Key: HIVE-10304
> URL: https://issues.apache.org/jira/browse/HIVE-10304
> Project: Hive
>  Issue Type: Improvement
>  Components: CLI
>Affects Versions: 1.1.0
>Reporter: Szehon Ho
>Assignee: Szehon Ho
>  Labels: TODOC1.2
> Fix For: 1.2.0
>
> Attachments: HIVE-10304.2.patch, HIVE-10304.3.patch, HIVE-10304.patch
>
>
> As Beeline is now the recommended command line tool to Hive, we should add a 
> message to HiveCLI to indicate that it is deprecated and redirect them to 
> Beeline.  
> This is not suggesting to remove HiveCLI for now, but just a helpful 
> direction for user to know the direction to focus attention in Beeline.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-10304) Add deprecation message to HiveCLI

2015-04-16 Thread Mithun Radhakrishnan (JIRA)

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

Mithun Radhakrishnan commented on HIVE-10304:
-

Hello, [~szehon]. Pardon the delay; I wish I'd responded sooner.

There was a discussion on the dev user-list that concluded that we shouldn't be 
deprecating the Hive command-line until we have interface/error-code parity 
between beeline and the CLI. 
[Here|http://mail-archives.apache.org/mod_mbox/hive-dev/201412.mbox/%3ccabgngzfnjhnfv0p15+glmznf-gogw6dm9xotgoqh+dnyg3z...@mail.gmail.com%3E]
 is one thread. To quote:

bq. +1 to the idea of embedding beeline within hive cli, and retaining core 
behavior such as exit codes in hive-cli while doing that... users don't have to 
specify parameters like jdbc url, username etc.

The issue I see here is that there are still Hive installations that depend on 
the CLI, and don't depend entirely on HS2 deploys. (Where I work, for 
instance.) I'd be very keen to see the embedded-beeline option in working order.

Could we please discuss this check-in? I don't know if it's a good idea to push 
this into the impending release. I fear that the deprecation will be too 
disruptive, without proper recourse.

> Add deprecation message to HiveCLI
> --
>
> Key: HIVE-10304
> URL: https://issues.apache.org/jira/browse/HIVE-10304
> Project: Hive
>  Issue Type: Improvement
>  Components: CLI
>Affects Versions: 1.1.0
>Reporter: Szehon Ho
>Assignee: Szehon Ho
>  Labels: TODOC1.2
> Fix For: 1.2.0
>
> Attachments: HIVE-10304.2.patch, HIVE-10304.3.patch, HIVE-10304.patch
>
>
> As Beeline is now the recommended command line tool to Hive, we should add a 
> message to HiveCLI to indicate that it is deprecated and redirect them to 
> Beeline.  
> This is not suggesting to remove HiveCLI for now, but just a helpful 
> direction for user to know the direction to focus attention in Beeline.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-10304) Add deprecation message to HiveCLI

2015-04-15 Thread Szehon Ho (JIRA)

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

Szehon Ho commented on HIVE-10304:
--

Done editing these sections with new information or links on Beeline/HS2, as 
well as deprecation warnings of HiveCLI, feel free to check.  Thanks Lefty for 
the links.

> Add deprecation message to HiveCLI
> --
>
> Key: HIVE-10304
> URL: https://issues.apache.org/jira/browse/HIVE-10304
> Project: Hive
>  Issue Type: Improvement
>  Components: CLI
>Affects Versions: 1.1.0
>Reporter: Szehon Ho
>Assignee: Szehon Ho
>  Labels: TODOC1.2
> Fix For: 1.2.0
>
> Attachments: HIVE-10304.2.patch, HIVE-10304.3.patch, HIVE-10304.patch
>
>
> As Beeline is now the recommended command line tool to Hive, we should add a 
> message to HiveCLI to indicate that it is deprecated and redirect them to 
> Beeline.  
> This is not suggesting to remove HiveCLI for now, but just a helpful 
> direction for user to know the direction to focus attention in Beeline.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-10304) Add deprecation message to HiveCLI

2015-04-13 Thread Lefty Leverenz (JIRA)

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

Lefty Leverenz commented on HIVE-10304:
---

Doc note:  At the least, the CLI wikidoc should include this warning for 1.2.0 
with a link to the Beeline doc.

Since the CLI doc already has a stub of a Beeline section, perhaps that should 
be moved before the CLI section with some rewriting.  Also, other places that 
mention the CLI should be updated -- Getting Started and the Tutorial for 
starters, maybe a few more.

* [Hive CLI | 
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Cli]
* Getting Started
** [Running Hive | 
https://cwiki.apache.org/confluence/display/Hive/GettingStarted#GettingStarted-RunningHive]
** [Configuration Management Overview | 
https://cwiki.apache.org/confluence/display/Hive/GettingStarted#GettingStarted-ConfigurationManagementOverview]
** [Runtime Configuration | 
https://cwiki.apache.org/confluence/display/Hive/GettingStarted#GettingStarted-RuntimeConfiguration]
** [Error Logs | 
https://cwiki.apache.org/confluence/display/Hive/GettingStarted#GettingStarted-ErrorLogs]
* Tutorial
** [Built In Operators and Functions | 
https://cwiki.apache.org/confluence/display/Hive/Tutorial#Tutorial-BuiltInOperatorsandFunctions]
** [Simple Query | 
https://cwiki.apache.org/confluence/display/Hive/Tutorial#Tutorial-SimpleQuery]

> Add deprecation message to HiveCLI
> --
>
> Key: HIVE-10304
> URL: https://issues.apache.org/jira/browse/HIVE-10304
> Project: Hive
>  Issue Type: Improvement
>  Components: CLI
>Affects Versions: 1.1.0
>Reporter: Szehon Ho
>Assignee: Szehon Ho
>  Labels: TODOC1.2
> Fix For: 1.2.0
>
> Attachments: HIVE-10304.2.patch, HIVE-10304.3.patch, HIVE-10304.patch
>
>
> As Beeline is now the recommended command line tool to Hive, we should add a 
> message to HiveCLI to indicate that it is deprecated and redirect them to 
> Beeline.  
> This is not suggesting to remove HiveCLI for now, but just a helpful 
> direction for user to know the direction to focus attention in Beeline.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-10304) Add deprecation message to HiveCLI

2015-04-13 Thread Szehon Ho (JIRA)

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

Szehon Ho commented on HIVE-10304:
--

Hi Ferdinand, thanks for the suggestion.  In my opinion, we should avoid adding 
a link to Hive wiki in the Hive source code, as those are more bothersome to 
find and change if those change (as it involves compile, running test, etc).  
In existing source code there are no links to Hive wiki, although there are 
from README.  Hence I think it is better to add this information in the README, 
maybe one of us can do that in a follow-up JIRA.

Test failures do not look related.

> Add deprecation message to HiveCLI
> --
>
> Key: HIVE-10304
> URL: https://issues.apache.org/jira/browse/HIVE-10304
> Project: Hive
>  Issue Type: Improvement
>  Components: CLI
>Affects Versions: 1.1.0
>Reporter: Szehon Ho
>Assignee: Szehon Ho
> Attachments: HIVE-10304.2.patch, HIVE-10304.3.patch, HIVE-10304.patch
>
>
> As Beeline is now the recommended command line tool to Hive, we should add a 
> message to HiveCLI to indicate that it is deprecated and redirect them to 
> Beeline.  
> This is not suggesting to remove HiveCLI for now, but just a helpful 
> direction for user to know the direction to focus attention in Beeline.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-10304) Add deprecation message to HiveCLI

2015-04-13 Thread Hive QA (JIRA)

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

Hive QA commented on HIVE-10304:




{color:red}Overall{color}: -1 at least one tests failed

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

{color:red}ERROR:{color} -1 due to 14 failed/errored test(s), 8673 tests 
executed
*Failed tests:*
{noformat}
TestMinimrCliDriver-bucketmapjoin6.q-constprog_partitioner.q-infer_bucket_sort_dyn_part.q-and-1-more
 - did not produce a TEST-*.xml file
TestMinimrCliDriver-external_table_with_space_in_location_path.q-infer_bucket_sort_merge.q-auto_sortmerge_join_16.q-and-1-more
 - did not produce a TEST-*.xml file
TestMinimrCliDriver-groupby2.q-import_exported_table.q-bucketizedhiveinputformat.q-and-1-more
 - did not produce a TEST-*.xml file
TestMinimrCliDriver-index_bitmap3.q-stats_counter_partitioned.q-temp_table_external.q-and-1-more
 - did not produce a TEST-*.xml file
TestMinimrCliDriver-infer_bucket_sort_map_operators.q-join1.q-bucketmapjoin7.q-and-1-more
 - did not produce a TEST-*.xml file
TestMinimrCliDriver-infer_bucket_sort_num_buckets.q-disable_merge_for_bucketing.q-uber_reduce.q-and-1-more
 - did not produce a TEST-*.xml file
TestMinimrCliDriver-infer_bucket_sort_reducers_power_two.q-scriptfile1.q-scriptfile1_win.q-and-1-more
 - did not produce a TEST-*.xml file
TestMinimrCliDriver-leftsemijoin_mr.q-load_hdfs_file_with_space_in_the_name.q-root_dir_external_table.q-and-1-more
 - did not produce a TEST-*.xml file
TestMinimrCliDriver-list_bucket_dml_10.q-bucket_num_reducers.q-bucket6.q-and-1-more
 - did not produce a TEST-*.xml file
TestMinimrCliDriver-load_fs2.q-file_with_header_footer.q-ql_rewrite_gbtoidx_cbo_1.q-and-1-more
 - did not produce a TEST-*.xml file
TestMinimrCliDriver-parallel_orderby.q-reduce_deduplicate.q-ql_rewrite_gbtoidx_cbo_2.q-and-1-more
 - did not produce a TEST-*.xml file
TestMinimrCliDriver-ql_rewrite_gbtoidx.q-smb_mapjoin_8.q - did not produce a 
TEST-*.xml file
TestMinimrCliDriver-schemeAuthority2.q-bucket4.q-input16_cc.q-and-1-more - did 
not produce a TEST-*.xml file
org.apache.hive.jdbc.TestJdbcWithMiniHS2.testNewConnectionConfiguration
{noformat}

Test results: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/3403/testReport
Console output: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/3403/console
Test logs: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-3403/

Messages:
{noformat}
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: 14 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12724872 - PreCommit-HIVE-TRUNK-Build

> Add deprecation message to HiveCLI
> --
>
> Key: HIVE-10304
> URL: https://issues.apache.org/jira/browse/HIVE-10304
> Project: Hive
>  Issue Type: Improvement
>  Components: CLI
>Affects Versions: 1.1.0
>Reporter: Szehon Ho
>Assignee: Szehon Ho
> Attachments: HIVE-10304.2.patch, HIVE-10304.3.patch, HIVE-10304.patch
>
>
> As Beeline is now the recommended command line tool to Hive, we should add a 
> message to HiveCLI to indicate that it is deprecated and redirect them to 
> Beeline.  
> This is not suggesting to remove HiveCLI for now, but just a helpful 
> direction for user to know the direction to focus attention in Beeline.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-10304) Add deprecation message to HiveCLI

2015-04-12 Thread Ferdinand Xu (JIRA)

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

Ferdinand Xu commented on HIVE-10304:
-

Is it more user-friendly if a 
link(https://cwiki.apache.org/confluence/display/Hive/HiveServer2+Clients) to 
the tutorial of beeline is provided in the output? 

> Add deprecation message to HiveCLI
> --
>
> Key: HIVE-10304
> URL: https://issues.apache.org/jira/browse/HIVE-10304
> Project: Hive
>  Issue Type: Improvement
>  Components: CLI
>Affects Versions: 1.1.0
>Reporter: Szehon Ho
>Assignee: Szehon Ho
> Attachments: HIVE-10304.2.patch, HIVE-10304.3.patch, HIVE-10304.patch
>
>
> As Beeline is now the recommended command line tool to Hive, we should add a 
> message to HiveCLI to indicate that it is deprecated and redirect them to 
> Beeline.  
> This is not suggesting to remove HiveCLI for now, but just a helpful 
> direction for user to know the direction to focus attention in Beeline.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-10304) Add deprecation message to HiveCLI

2015-04-11 Thread Hive QA (JIRA)

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

Hive QA commented on HIVE-10304:




{color:red}Overall{color}: -1 no tests executed

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

Test results: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/3387/testReport
Console output: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/3387/console
Test logs: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-3387/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Tests exited with: NonZeroExitCodeException
Command 'bash /data/hive-ptest/working/scratch/source-prep.sh' failed with exit 
status 1 and output '+ [[ -n /usr/java/jdk1.7.0_45-cloudera ]]
+ export JAVA_HOME=/usr/java/jdk1.7.0_45-cloudera
+ JAVA_HOME=/usr/java/jdk1.7.0_45-cloudera
+ export 
PATH=/usr/java/jdk1.7.0_45-cloudera/bin/:/usr/local/apache-maven-3.0.5/bin:/usr/java/jdk1.7.0_45-cloudera/bin:/usr/local/apache-ant-1.9.1/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/hiveptest/bin
+ 
PATH=/usr/java/jdk1.7.0_45-cloudera/bin/:/usr/local/apache-maven-3.0.5/bin:/usr/java/jdk1.7.0_45-cloudera/bin:/usr/local/apache-ant-1.9.1/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/hiveptest/bin
+ export 'ANT_OPTS=-Xmx1g -XX:MaxPermSize=256m '
+ ANT_OPTS='-Xmx1g -XX:MaxPermSize=256m '
+ export 'M2_OPTS=-Xmx1g -XX:MaxPermSize=256m -Dhttp.proxyHost=localhost 
-Dhttp.proxyPort=3128'
+ M2_OPTS='-Xmx1g -XX:MaxPermSize=256m -Dhttp.proxyHost=localhost 
-Dhttp.proxyPort=3128'
+ cd /data/hive-ptest/working/
+ tee /data/hive-ptest/logs/PreCommit-HIVE-TRUNK-Build-3387/source-prep.txt
+ [[ false == \t\r\u\e ]]
+ mkdir -p maven ivy
+ [[ svn = \s\v\n ]]
+ [[ -n '' ]]
+ [[ -d apache-svn-trunk-source ]]
+ [[ ! -d apache-svn-trunk-source/.svn ]]
+ [[ ! -d apache-svn-trunk-source ]]
+ cd apache-svn-trunk-source
+ svn revert -R .
Reverted 'ql/src/test/org/apache/hadoop/hive/ql/io/orc/TestOrcFile.java'
++ awk '{print $2}'
++ egrep -v '^X|^Performing status on external'
++ svn status --no-ignore
+ rm -rf target datanucleus.log ant/target shims/target shims/0.20S/target 
shims/0.23/target shims/aggregator/target shims/common/target 
shims/scheduler/target packaging/target hbase-handler/target testutils/target 
jdbc/target metastore/target itests/target itests/thirdparty 
itests/hcatalog-unit/target itests/test-serde/target itests/qtest/target 
itests/hive-unit-hadoop2/target itests/hive-minikdc/target 
itests/hive-jmh/target itests/hive-unit/target itests/custom-serde/target 
itests/util/target itests/qtest-spark/target hcatalog/target 
hcatalog/core/target hcatalog/streaming/target 
hcatalog/server-extensions/target hcatalog/hcatalog-pig-adapter/target 
hcatalog/webhcat/svr/target hcatalog/webhcat/java-client/target 
accumulo-handler/target hwi/target common/target common/src/gen 
spark-client/target service/target contrib/target serde/target beeline/target 
odbc/target cli/target ql/dependency-reduced-pom.xml ql/target
+ svn update

Fetching external item into 'hcatalog/src/test/e2e/harness'
External at revision 1672962.

At revision 1672962.
+ patchCommandPath=/data/hive-ptest/working/scratch/smart-apply-patch.sh
+ patchFilePath=/data/hive-ptest/working/scratch/build.patch
+ [[ -f /data/hive-ptest/working/scratch/build.patch ]]
+ chmod +x /data/hive-ptest/working/scratch/smart-apply-patch.sh
+ /data/hive-ptest/working/scratch/smart-apply-patch.sh 
/data/hive-ptest/working/scratch/build.patch
The patch does not appear to apply with p0, p1, or p2
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12724717 - PreCommit-HIVE-TRUNK-Build

> Add deprecation message to HiveCLI
> --
>
> Key: HIVE-10304
> URL: https://issues.apache.org/jira/browse/HIVE-10304
> Project: Hive
>  Issue Type: Improvement
>  Components: CLI
>Affects Versions: 1.1.0
>Reporter: Szehon Ho
>Assignee: Szehon Ho
> Attachments: HIVE-10304.2.patch, HIVE-10304.patch
>
>
> As Beeline is now the recommended command line tool to Hive, we should add a 
> message to HiveCLI to indicate that it is deprecated and redirect them to 
> Beeline.  
> This is not suggesting to remove HiveCLI for now, but just a helpful 
> direction for user to know the direction to focus attention in Beeline.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-10304) Add deprecation message to HiveCLI

2015-04-10 Thread Xuefu Zhang (JIRA)

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

Xuefu Zhang commented on HIVE-10304:


+1

> Add deprecation message to HiveCLI
> --
>
> Key: HIVE-10304
> URL: https://issues.apache.org/jira/browse/HIVE-10304
> Project: Hive
>  Issue Type: Improvement
>  Components: CLI
>Affects Versions: 1.1.0
>Reporter: Szehon Ho
>Assignee: Szehon Ho
> Attachments: HIVE-10304.2.patch, HIVE-10304.patch
>
>
> As Beeline is now the recommended command line tool to Hive, we should add a 
> message to HiveCLI to indicate that it is deprecated and redirect them to 
> Beeline.  
> This is not suggesting to remove HiveCLI for now, but just a helpful 
> direction for user to know the direction to focus attention in Beeline.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-10304) Add deprecation message to HiveCLI

2015-04-10 Thread Xuefu Zhang (JIRA)

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

Xuefu Zhang commented on HIVE-10304:


LGTM. Could you add "Warning: " at the beginning of the message?

> Add deprecation message to HiveCLI
> --
>
> Key: HIVE-10304
> URL: https://issues.apache.org/jira/browse/HIVE-10304
> Project: Hive
>  Issue Type: Improvement
>  Components: CLI
>Affects Versions: 1.1.0
>Reporter: Szehon Ho
>Assignee: Szehon Ho
> Attachments: HIVE-10304.patch
>
>
> As Beeline is now the recommended command line tool to Hive, we should add a 
> message to HiveCLI to indicate that it is deprecated and redirect them to 
> Beeline.  
> This is not suggesting to remove HiveCLI for now, but just a helpful 
> direction for user to know the direction to focus attention in Beeline.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)