You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Jingwei Lu (JIRA)" <ji...@apache.org> on 2012/10/26 00:51:13 UTC
[jira] [Created] (HIVE-3621) Make prompt in Hive CLI configurable
Jingwei Lu created HIVE-3621:
--------------------------------
Summary: Make prompt in Hive CLI configurable
Key: HIVE-3621
URL: https://issues.apache.org/jira/browse/HIVE-3621
Project: Hive
Issue Type: Improvement
Components: CLI
Affects Versions: 0.9.0
Reporter: Jingwei Lu
Priority: Minor
Fix For: 0.10.0
Right now the Hive CLI prompt just says "hive>", for users (primarily power users) who run in different clusters it can be easy to forget which cluster your Hive CLI is pointing to. If we change the Hive CLI prompt to be something like "hive(silver)>" it would be much clearer. We could potentially extend this to namespaces as well.
--
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] (HIVE-3621) Make prompt in Hive CLI configurable
Posted by "Jingwei Lu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-3621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490852#comment-13490852 ]
Jingwei Lu commented on HIVE-3621:
----------------------------------
I do explicitly state that hiveconf can be used in the new configuration. If it is not clear, your suggestion are welcome.
> Make prompt in Hive CLI configurable
> ------------------------------------
>
> Key: HIVE-3621
> URL: https://issues.apache.org/jira/browse/HIVE-3621
> Project: Hive
> Issue Type: Improvement
> Components: CLI
> Affects Versions: 0.9.0
> Reporter: Jingwei Lu
> Assignee: Jingwei Lu
> Priority: Minor
> Labels: newbie, patch
> Fix For: 0.10.0
>
> Attachments: HIVE-3621.patch.1.txt
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> Right now the Hive CLI prompt just says "hive>", for users (primarily power users) who run in different clusters it can be easy to forget which cluster your Hive CLI is pointing to. If we change the Hive CLI prompt to be something like "hive(silver)>" it would be much clearer. We could potentially extend this to namespaces as well.
--
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] (HIVE-3621) Make prompt in Hive CLI configurable
Posted by "Kevin Wilfong (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-3621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493514#comment-13493514 ]
Kevin Wilfong commented on HIVE-3621:
-------------------------------------
Thanks +1
> Make prompt in Hive CLI configurable
> ------------------------------------
>
> Key: HIVE-3621
> URL: https://issues.apache.org/jira/browse/HIVE-3621
> Project: Hive
> Issue Type: Improvement
> Components: CLI
> Affects Versions: 0.9.0
> Reporter: Jingwei Lu
> Assignee: Jingwei Lu
> Priority: Minor
> Labels: newbie, patch
> Fix For: 0.10.0
>
> Attachments: HIVE-3621.patch.1.txt, HIVE-3621.patch.2.txt
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> Right now the Hive CLI prompt just says "hive>", for users (primarily power users) who run in different clusters it can be easy to forget which cluster your Hive CLI is pointing to. If we change the Hive CLI prompt to be something like "hive(silver)>" it would be much clearer. We could potentially extend this to namespaces as well.
--
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] (HIVE-3621) Make prompt in Hive CLI configurable
Posted by "Jingwei Lu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-3621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493492#comment-13493492 ]
Jingwei Lu commented on HIVE-3621:
----------------------------------
I had trouble to amend the old diff. Create a new diff to respond the comment.
https://reviews.facebook.net/D6573
> Make prompt in Hive CLI configurable
> ------------------------------------
>
> Key: HIVE-3621
> URL: https://issues.apache.org/jira/browse/HIVE-3621
> Project: Hive
> Issue Type: Improvement
> Components: CLI
> Affects Versions: 0.9.0
> Reporter: Jingwei Lu
> Assignee: Jingwei Lu
> Priority: Minor
> Labels: newbie, patch
> Fix For: 0.10.0
>
> Attachments: HIVE-3621.patch.1.txt
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> Right now the Hive CLI prompt just says "hive>", for users (primarily power users) who run in different clusters it can be easy to forget which cluster your Hive CLI is pointing to. If we change the Hive CLI prompt to be something like "hive(silver)>" it would be much clearer. We could potentially extend this to namespaces as well.
--
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] (HIVE-3621) Make prompt in Hive CLI configurable
Posted by "Jingwei Lu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-3621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13489930#comment-13489930 ]
Jingwei Lu commented on HIVE-3621:
----------------------------------
https://reviews.facebook.net/D6387
> Make prompt in Hive CLI configurable
> ------------------------------------
>
> Key: HIVE-3621
> URL: https://issues.apache.org/jira/browse/HIVE-3621
> Project: Hive
> Issue Type: Improvement
> Components: CLI
> Affects Versions: 0.9.0
> Reporter: Jingwei Lu
> Assignee: Jingwei Lu
> Priority: Minor
> Labels: newbie, patch
> Fix For: 0.10.0
>
> Attachments: HIVE-3621.patch.1.txt
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> Right now the Hive CLI prompt just says "hive>", for users (primarily power users) who run in different clusters it can be easy to forget which cluster your Hive CLI is pointing to. If we change the Hive CLI prompt to be something like "hive(silver)>" it would be much clearer. We could potentially extend this to namespaces as well.
--
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] (HIVE-3621) Make prompt in Hive CLI configurable
Posted by "Mark Grover (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-3621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490856#comment-13490856 ]
Mark Grover commented on HIVE-3621:
-----------------------------------
Nevermind, I missed it. Looks good to me. Thanks!
> Make prompt in Hive CLI configurable
> ------------------------------------
>
> Key: HIVE-3621
> URL: https://issues.apache.org/jira/browse/HIVE-3621
> Project: Hive
> Issue Type: Improvement
> Components: CLI
> Affects Versions: 0.9.0
> Reporter: Jingwei Lu
> Assignee: Jingwei Lu
> Priority: Minor
> Labels: newbie, patch
> Fix For: 0.10.0
>
> Attachments: HIVE-3621.patch.1.txt
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> Right now the Hive CLI prompt just says "hive>", for users (primarily power users) who run in different clusters it can be easy to forget which cluster your Hive CLI is pointing to. If we change the Hive CLI prompt to be something like "hive(silver)>" it would be much clearer. We could potentially extend this to namespaces as well.
--
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] [Updated] (HIVE-3621) Make prompt in Hive CLI configurable
Posted by "Kevin Wilfong (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-3621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Wilfong updated HIVE-3621:
--------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
Committed, thanks Jingwei.
> Make prompt in Hive CLI configurable
> ------------------------------------
>
> Key: HIVE-3621
> URL: https://issues.apache.org/jira/browse/HIVE-3621
> Project: Hive
> Issue Type: Improvement
> Components: CLI
> Affects Versions: 0.9.0
> Reporter: Jingwei Lu
> Assignee: Jingwei Lu
> Priority: Minor
> Labels: newbie, patch
> Fix For: 0.10.0
>
> Attachments: HIVE-3621.patch.1.txt, HIVE-3621.patch.2.txt
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> Right now the Hive CLI prompt just says "hive>", for users (primarily power users) who run in different clusters it can be easy to forget which cluster your Hive CLI is pointing to. If we change the Hive CLI prompt to be something like "hive(silver)>" it would be much clearer. We could potentially extend this to namespaces as well.
--
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] (HIVE-3621) Make prompt in Hive CLI configurable
Posted by "Kevin Wilfong (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-3621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493451#comment-13493451 ]
Kevin Wilfong commented on HIVE-3621:
-------------------------------------
One minor comment on Phabricator, otherwise looks good.
> Make prompt in Hive CLI configurable
> ------------------------------------
>
> Key: HIVE-3621
> URL: https://issues.apache.org/jira/browse/HIVE-3621
> Project: Hive
> Issue Type: Improvement
> Components: CLI
> Affects Versions: 0.9.0
> Reporter: Jingwei Lu
> Assignee: Jingwei Lu
> Priority: Minor
> Labels: newbie, patch
> Fix For: 0.10.0
>
> Attachments: HIVE-3621.patch.1.txt
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> Right now the Hive CLI prompt just says "hive>", for users (primarily power users) who run in different clusters it can be easy to forget which cluster your Hive CLI is pointing to. If we change the Hive CLI prompt to be something like "hive(silver)>" it would be much clearer. We could potentially extend this to namespaces as well.
--
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] [Updated] (HIVE-3621) Make prompt in Hive CLI configurable
Posted by "Jingwei Lu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-3621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jingwei Lu updated HIVE-3621:
-----------------------------
Attachment: HIVE-3621.patch.2.txt
> Make prompt in Hive CLI configurable
> ------------------------------------
>
> Key: HIVE-3621
> URL: https://issues.apache.org/jira/browse/HIVE-3621
> Project: Hive
> Issue Type: Improvement
> Components: CLI
> Affects Versions: 0.9.0
> Reporter: Jingwei Lu
> Assignee: Jingwei Lu
> Priority: Minor
> Labels: newbie, patch
> Fix For: 0.10.0
>
> Attachments: HIVE-3621.patch.1.txt, HIVE-3621.patch.2.txt
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> Right now the Hive CLI prompt just says "hive>", for users (primarily power users) who run in different clusters it can be easy to forget which cluster your Hive CLI is pointing to. If we change the Hive CLI prompt to be something like "hive(silver)>" it would be much clearer. We could potentially extend this to namespaces as well.
--
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] (HIVE-3621) Make prompt in Hive CLI configurable
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-3621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13494503#comment-13494503 ]
Hudson commented on HIVE-3621:
------------------------------
Integrated in Hive-trunk-h0.21 #1787 (See [https://builds.apache.org/job/Hive-trunk-h0.21/1787/])
HIVE-3621. Make prompt in Hive CLI configurable. (Jingwei Lu via kevinwilfong) (Revision 1407581)
Result = FAILURE
kevinwilfong : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1407581
Files :
* /hive/trunk/cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java
* /hive/trunk/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
* /hive/trunk/conf/hive-default.xml.template
> Make prompt in Hive CLI configurable
> ------------------------------------
>
> Key: HIVE-3621
> URL: https://issues.apache.org/jira/browse/HIVE-3621
> Project: Hive
> Issue Type: Improvement
> Components: CLI
> Affects Versions: 0.9.0
> Reporter: Jingwei Lu
> Assignee: Jingwei Lu
> Priority: Minor
> Labels: newbie, patch
> Fix For: 0.10.0
>
> Attachments: HIVE-3621.patch.1.txt, HIVE-3621.patch.2.txt
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> Right now the Hive CLI prompt just says "hive>", for users (primarily power users) who run in different clusters it can be easy to forget which cluster your Hive CLI is pointing to. If we change the Hive CLI prompt to be something like "hive(silver)>" it would be much clearer. We could potentially extend this to namespaces as well.
--
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] (HIVE-3621) Make prompt in Hive CLI configurable
Posted by "Mark Grover (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-3621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490261#comment-13490261 ]
Mark Grover commented on HIVE-3621:
-----------------------------------
+1 on the idea!
I would suggest explicitly specifying in the description section that users can refer to hive-conf variables in the value for this property.
> Make prompt in Hive CLI configurable
> ------------------------------------
>
> Key: HIVE-3621
> URL: https://issues.apache.org/jira/browse/HIVE-3621
> Project: Hive
> Issue Type: Improvement
> Components: CLI
> Affects Versions: 0.9.0
> Reporter: Jingwei Lu
> Assignee: Jingwei Lu
> Priority: Minor
> Labels: newbie, patch
> Fix For: 0.10.0
>
> Attachments: HIVE-3621.patch.1.txt
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> Right now the Hive CLI prompt just says "hive>", for users (primarily power users) who run in different clusters it can be easy to forget which cluster your Hive CLI is pointing to. If we change the Hive CLI prompt to be something like "hive(silver)>" it would be much clearer. We could potentially extend this to namespaces as well.
--
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] [Updated] (HIVE-3621) Make prompt in Hive CLI configurable
Posted by "Jingwei Lu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-3621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jingwei Lu updated HIVE-3621:
-----------------------------
Attachment: HIVE-3621.patch.1.txt
> Make prompt in Hive CLI configurable
> ------------------------------------
>
> Key: HIVE-3621
> URL: https://issues.apache.org/jira/browse/HIVE-3621
> Project: Hive
> Issue Type: Improvement
> Components: CLI
> Affects Versions: 0.9.0
> Reporter: Jingwei Lu
> Assignee: Jingwei Lu
> Priority: Minor
> Fix For: 0.10.0
>
> Attachments: HIVE-3621.patch.1.txt
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> Right now the Hive CLI prompt just says "hive>", for users (primarily power users) who run in different clusters it can be easy to forget which cluster your Hive CLI is pointing to. If we change the Hive CLI prompt to be something like "hive(silver)>" it would be much clearer. We could potentially extend this to namespaces as well.
--
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] (HIVE-3621) Make prompt in Hive CLI configurable
Posted by "Kevin Wilfong (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-3621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13489888#comment-13489888 ]
Kevin Wilfong commented on HIVE-3621:
-------------------------------------
Can you give a link to your Phabricator diff in a comment and hit the Submit Patch button if you're ready for review.
> Make prompt in Hive CLI configurable
> ------------------------------------
>
> Key: HIVE-3621
> URL: https://issues.apache.org/jira/browse/HIVE-3621
> Project: Hive
> Issue Type: Improvement
> Components: CLI
> Affects Versions: 0.9.0
> Reporter: Jingwei Lu
> Assignee: Jingwei Lu
> Priority: Minor
> Fix For: 0.10.0
>
> Attachments: HIVE-3621.patch.1.txt
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> Right now the Hive CLI prompt just says "hive>", for users (primarily power users) who run in different clusters it can be easy to forget which cluster your Hive CLI is pointing to. If we change the Hive CLI prompt to be something like "hive(silver)>" it would be much clearer. We could potentially extend this to namespaces as well.
--
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] [Updated] (HIVE-3621) Make prompt in Hive CLI configurable
Posted by "Jingwei Lu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-3621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jingwei Lu updated HIVE-3621:
-----------------------------
Assignee: Jingwei Lu
> Make prompt in Hive CLI configurable
> ------------------------------------
>
> Key: HIVE-3621
> URL: https://issues.apache.org/jira/browse/HIVE-3621
> Project: Hive
> Issue Type: Improvement
> Components: CLI
> Affects Versions: 0.9.0
> Reporter: Jingwei Lu
> Assignee: Jingwei Lu
> Priority: Minor
> Fix For: 0.10.0
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> Right now the Hive CLI prompt just says "hive>", for users (primarily power users) who run in different clusters it can be easy to forget which cluster your Hive CLI is pointing to. If we change the Hive CLI prompt to be something like "hive(silver)>" it would be much clearer. We could potentially extend this to namespaces as well.
--
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] [Updated] (HIVE-3621) Make prompt in Hive CLI configurable
Posted by "Jingwei Lu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-3621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jingwei Lu updated HIVE-3621:
-----------------------------
Labels: newbie patch (was: )
Status: Patch Available (was: Open)
> Make prompt in Hive CLI configurable
> ------------------------------------
>
> Key: HIVE-3621
> URL: https://issues.apache.org/jira/browse/HIVE-3621
> Project: Hive
> Issue Type: Improvement
> Components: CLI
> Affects Versions: 0.9.0
> Reporter: Jingwei Lu
> Assignee: Jingwei Lu
> Priority: Minor
> Labels: newbie, patch
> Fix For: 0.10.0
>
> Attachments: HIVE-3621.patch.1.txt
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> Right now the Hive CLI prompt just says "hive>", for users (primarily power users) who run in different clusters it can be easy to forget which cluster your Hive CLI is pointing to. If we change the Hive CLI prompt to be something like "hive(silver)>" it would be much clearer. We could potentially extend this to namespaces as well.
--
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