[jira] [Updated] (HIVE-2864) If hive history file's directory doesn't exist don't crash

2012-03-19 Thread Ashutosh Chauhan (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-2864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashutosh Chauhan updated HIVE-2864:
---

Fix Version/s: 0.9.0

> If hive history file's directory doesn't exist don't crash
> --
>
> Key: HIVE-2864
> URL: https://issues.apache.org/jira/browse/HIVE-2864
> Project: Hive
>  Issue Type: Improvement
>Reporter: Kevin Wilfong
>Assignee: Kevin Wilfong
> Fix For: 0.9.0
>
> Attachments: HIVE-2864.D2265.1.patch, HIVE-2864.D2265.2.patch
>
>
> Currently, if the history file's directory does not exist the Hive client 
> crashes.  Instead, since this is not a vital feature, it should just display 
> a warning to the user and continue without it.
> This will become more important once the directory becomes configurable, see:
> https://issues.apache.org/jira/browse/HIVE-1708

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HIVE-2864) If hive history file's directory doesn't exist don't crash

2012-03-19 Thread Namit Jain (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-2864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Namit Jain updated HIVE-2864:
-

  Resolution: Fixed
Hadoop Flags: Reviewed
  Status: Resolved  (was: Patch Available)

Committed. Thanks Kevin

> If hive history file's directory doesn't exist don't crash
> --
>
> Key: HIVE-2864
> URL: https://issues.apache.org/jira/browse/HIVE-2864
> Project: Hive
>  Issue Type: Improvement
>Reporter: Kevin Wilfong
>Assignee: Kevin Wilfong
> Attachments: HIVE-2864.D2265.1.patch, HIVE-2864.D2265.2.patch
>
>
> Currently, if the history file's directory does not exist the Hive client 
> crashes.  Instead, since this is not a vital feature, it should just display 
> a warning to the user and continue without it.
> This will become more important once the directory becomes configurable, see:
> https://issues.apache.org/jira/browse/HIVE-1708

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HIVE-2864) If hive history file's directory doesn't exist don't crash

2012-03-12 Thread Phabricator (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-2864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Phabricator updated HIVE-2864:
--

Attachment: HIVE-2864.D2265.2.patch

kevinwilfong updated the revision "HIVE-2864 [jira] If hive history file's 
directory doesn't exist don't crash".
Reviewers: JIRA, njain

  Good call, Namit.

  I now catch all errors thrown while trying to initialize the history file.  
If any errors are seen, the user is warned that history is unavailable for the 
session, and the error is displayed.

REVISION DETAIL
  https://reviews.facebook.net/D2265

AFFECTED FILES
  cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java


> If hive history file's directory doesn't exist don't crash
> --
>
> Key: HIVE-2864
> URL: https://issues.apache.org/jira/browse/HIVE-2864
> Project: Hive
>  Issue Type: Improvement
>Reporter: Kevin Wilfong
>Assignee: Kevin Wilfong
> Attachments: HIVE-2864.D2265.1.patch, HIVE-2864.D2265.2.patch
>
>
> Currently, if the history file's directory does not exist the Hive client 
> crashes.  Instead, since this is not a vital feature, it should just display 
> a warning to the user and continue without it.
> This will become more important once the directory becomes configurable, see:
> https://issues.apache.org/jira/browse/HIVE-1708

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HIVE-2864) If hive history file's directory doesn't exist don't crash

2012-03-12 Thread Kevin Wilfong (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-2864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Wilfong updated HIVE-2864:


Status: Patch Available  (was: Open)

> If hive history file's directory doesn't exist don't crash
> --
>
> Key: HIVE-2864
> URL: https://issues.apache.org/jira/browse/HIVE-2864
> Project: Hive
>  Issue Type: Improvement
>Reporter: Kevin Wilfong
>Assignee: Kevin Wilfong
> Attachments: HIVE-2864.D2265.1.patch
>
>
> Currently, if the history file's directory does not exist the Hive client 
> crashes.  Instead, since this is not a vital feature, it should just display 
> a warning to the user and continue without it.
> This will become more important once the directory becomes configurable, see:
> https://issues.apache.org/jira/browse/HIVE-1708

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HIVE-2864) If hive history file's directory doesn't exist don't crash

2012-03-12 Thread Phabricator (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-2864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Phabricator updated HIVE-2864:
--

Attachment: HIVE-2864.D2265.1.patch

kevinwilfong requested code review of "HIVE-2864 [jira] If hive history file's 
directory doesn't exist don't crash".
Reviewers: JIRA

  https://issues.apache.org/jira/browse/HIVE-2864

  Displays a warning to the user if the directory for the history file does not 
exist, rather than crashing the session.

  Currently, if the history file's directory does not exist the Hive client 
crashes.  Instead, since this is not a vital feature, it should just display a 
warning to the user and continue without it.

  This will become more important once the directory becomes configurable, see:
  https://issues.apache.org/jira/browse/HIVE-1708

TEST PLAN
  EMPTY

REVISION DETAIL
  https://reviews.facebook.net/D2265

AFFECTED FILES
  cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java

MANAGE HERALD DIFFERENTIAL RULES
  https://reviews.facebook.net/herald/view/differential/

WHY DID I GET THIS EMAIL?
  https://reviews.facebook.net/herald/transcript/5013/

Tip: use the X-Herald-Rules header to filter Herald messages in your client.


> If hive history file's directory doesn't exist don't crash
> --
>
> Key: HIVE-2864
> URL: https://issues.apache.org/jira/browse/HIVE-2864
> Project: Hive
>  Issue Type: Improvement
>Reporter: Kevin Wilfong
>Assignee: Kevin Wilfong
> Attachments: HIVE-2864.D2265.1.patch
>
>
> Currently, if the history file's directory does not exist the Hive client 
> crashes.  Instead, since this is not a vital feature, it should just display 
> a warning to the user and continue without it.
> This will become more important once the directory becomes configurable, see:
> https://issues.apache.org/jira/browse/HIVE-1708

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira