You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Chinna Rao Lalam (Created) (JIRA)" <ji...@apache.org> on 2011/12/14 14:11:30 UTC

[jira] [Created] (HIVE-2654) "hive.querylog.location" requires parent directory to be exist or else folder creation fails

"hive.querylog.location" requires parent directory to be exist or else folder creation fails
--------------------------------------------------------------------------------------------

                 Key: HIVE-2654
                 URL: https://issues.apache.org/jira/browse/HIVE-2654
             Project: Hive
          Issue Type: Bug
          Components: Query Processor
         Environment: Hadoop 0.20.1, Hive0.9.0 and SUSE Linux Enterprise Server 10 SP2 (i586) - Kernel 2.6.16.60-0.21-smp (5).
            Reporter: Chinna Rao Lalam
            Assignee: Chinna Rao Lalam


if value of "hive.querylog.location" is '/tmp/root/hive123/test' if the parent directories not exist the creation of the folder is failed.

--
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-2654) "hive.querylog.location" requires parent directory to be exist or else folder creation fails

Posted by "Namit Jain (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-2654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Namit Jain updated HIVE-2654:
-----------------------------

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

Committed. Thanks Chinna Rao Lalam
                
> "hive.querylog.location" requires parent directory to be exist or else folder creation fails
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-2654
>                 URL: https://issues.apache.org/jira/browse/HIVE-2654
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>         Environment: Hadoop 0.20.1, Hive0.9.0 and SUSE Linux Enterprise Server 10 SP2 (i586) - Kernel 2.6.16.60-0.21-smp (5).
>            Reporter: Chinna Rao Lalam
>            Assignee: Chinna Rao Lalam
>         Attachments: HIVE-2654.D885.1.patch, HIVE-2654.patch
>
>
> if value of "hive.querylog.location" is '/tmp/root/hive123/test' if the parent directories not exist the creation of the folder is failed.

--
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] [Commented] (HIVE-2654) "hive.querylog.location" requires parent directory to be exist or else folder creation fails

Posted by "Chinna Rao Lalam (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13169495#comment-13169495 ] 

Chinna Rao Lalam commented on HIVE-2654:
----------------------------------------

Patch uploaded in Phabricator.
https://reviews.facebook.net/D855
                
> "hive.querylog.location" requires parent directory to be exist or else folder creation fails
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-2654
>                 URL: https://issues.apache.org/jira/browse/HIVE-2654
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>         Environment: Hadoop 0.20.1, Hive0.9.0 and SUSE Linux Enterprise Server 10 SP2 (i586) - Kernel 2.6.16.60-0.21-smp (5).
>            Reporter: Chinna Rao Lalam
>            Assignee: Chinna Rao Lalam
>         Attachments: HIVE-2654.patch
>
>
> if value of "hive.querylog.location" is '/tmp/root/hive123/test' if the parent directories not exist the creation of the folder is failed.

--
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] [Commented] (HIVE-2654) "hive.querylog.location" requires parent directory to be exist or else folder creation fails

Posted by "Chinna Rao Lalam (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13169497#comment-13169497 ] 

Chinna Rao Lalam commented on HIVE-2654:
----------------------------------------

For creating directory mkdir() api is used in HiveHistory() that changed to mkdirs()..
                
> "hive.querylog.location" requires parent directory to be exist or else folder creation fails
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-2654
>                 URL: https://issues.apache.org/jira/browse/HIVE-2654
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>         Environment: Hadoop 0.20.1, Hive0.9.0 and SUSE Linux Enterprise Server 10 SP2 (i586) - Kernel 2.6.16.60-0.21-smp (5).
>            Reporter: Chinna Rao Lalam
>            Assignee: Chinna Rao Lalam
>         Attachments: HIVE-2654.patch
>
>
> if value of "hive.querylog.location" is '/tmp/root/hive123/test' if the parent directories not exist the creation of the folder is failed.

--
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] [Commented] (HIVE-2654) "hive.querylog.location" requires parent directory to be exist or else folder creation fails

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13170540#comment-13170540 ] 

Hudson commented on HIVE-2654:
------------------------------

Integrated in Hive-trunk-h0.23.0 #28 (See [https://builds.apache.org/job/Hive-trunk-h0.23.0/28/])
    HIVE-2654 "hive.querylog.location" requires parent directory to be exist or
          else folder creation fails (Chinna Rao Lalam via namit)

namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1214891
Files : 
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/history/HiveHistory.java
* /hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/history/TestHiveHistory.java

                
> "hive.querylog.location" requires parent directory to be exist or else folder creation fails
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-2654
>                 URL: https://issues.apache.org/jira/browse/HIVE-2654
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>         Environment: Hadoop 0.20.1, Hive0.9.0 and SUSE Linux Enterprise Server 10 SP2 (i586) - Kernel 2.6.16.60-0.21-smp (5).
>            Reporter: Chinna Rao Lalam
>            Assignee: Chinna Rao Lalam
>         Attachments: HIVE-2654.D885.1.patch, HIVE-2654.patch
>
>
> if value of "hive.querylog.location" is '/tmp/root/hive123/test' if the parent directories not exist the creation of the folder is failed.

--
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-2654) "hive.querylog.location" requires parent directory to be exist or else folder creation fails

Posted by "Phabricator (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-2654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Phabricator updated HIVE-2654:
------------------------------

    Attachment: HIVE-2654.D885.1.patch

njain requested code review of "HIVE-2654 [jira] "hive.querylog.location" requires parent directory to be exist or else folder creation fails".
Reviewers: JIRA

  HIVE-2654

  if value of "hive.querylog.location" is '/tmp/root/hive123/test' if the parent directories not exist the creation of the folder is failed.

TEST PLAN
  EMPTY

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

AFFECTED FILES
  ql/src/test/org/apache/hadoop/hive/ql/history/TestHiveHistory.java
  ql/src/java/org/apache/hadoop/hive/ql/history/HiveHistory.java

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

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

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

                
> "hive.querylog.location" requires parent directory to be exist or else folder creation fails
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-2654
>                 URL: https://issues.apache.org/jira/browse/HIVE-2654
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>         Environment: Hadoop 0.20.1, Hive0.9.0 and SUSE Linux Enterprise Server 10 SP2 (i586) - Kernel 2.6.16.60-0.21-smp (5).
>            Reporter: Chinna Rao Lalam
>            Assignee: Chinna Rao Lalam
>         Attachments: HIVE-2654.D885.1.patch, HIVE-2654.patch
>
>
> if value of "hive.querylog.location" is '/tmp/root/hive123/test' if the parent directories not exist the creation of the folder is failed.

--
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-2654) "hive.querylog.location" requires parent directory to be exist or else folder creation fails

Posted by "Chinna Rao Lalam (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-2654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chinna Rao Lalam updated HIVE-2654:
-----------------------------------

    Attachment: HIVE-2654.patch
    
> "hive.querylog.location" requires parent directory to be exist or else folder creation fails
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-2654
>                 URL: https://issues.apache.org/jira/browse/HIVE-2654
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>         Environment: Hadoop 0.20.1, Hive0.9.0 and SUSE Linux Enterprise Server 10 SP2 (i586) - Kernel 2.6.16.60-0.21-smp (5).
>            Reporter: Chinna Rao Lalam
>            Assignee: Chinna Rao Lalam
>         Attachments: HIVE-2654.patch
>
>
> if value of "hive.querylog.location" is '/tmp/root/hive123/test' if the parent directories not exist the creation of the folder is failed.

--
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] [Commented] (HIVE-2654) "hive.querylog.location" requires parent directory to be exist or else folder creation fails

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13170711#comment-13170711 ] 

Hudson commented on HIVE-2654:
------------------------------

Integrated in Hive-trunk-h0.21 #1150 (See [https://builds.apache.org/job/Hive-trunk-h0.21/1150/])
    HIVE-2654 "hive.querylog.location" requires parent directory to be exist or
          else folder creation fails (Chinna Rao Lalam via namit)

namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1214891
Files : 
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/history/HiveHistory.java
* /hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/history/TestHiveHistory.java

                
> "hive.querylog.location" requires parent directory to be exist or else folder creation fails
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-2654
>                 URL: https://issues.apache.org/jira/browse/HIVE-2654
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>         Environment: Hadoop 0.20.1, Hive0.9.0 and SUSE Linux Enterprise Server 10 SP2 (i586) - Kernel 2.6.16.60-0.21-smp (5).
>            Reporter: Chinna Rao Lalam
>            Assignee: Chinna Rao Lalam
>         Attachments: HIVE-2654.D885.1.patch, HIVE-2654.patch
>
>
> if value of "hive.querylog.location" is '/tmp/root/hive123/test' if the parent directories not exist the creation of the folder is failed.

--
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] [Commented] (HIVE-2654) "hive.querylog.location" requires parent directory to be exist or else folder creation fails

Posted by "Namit Jain (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13169984#comment-13169984 ] 

Namit Jain commented on HIVE-2654:
----------------------------------

+1
                
> "hive.querylog.location" requires parent directory to be exist or else folder creation fails
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-2654
>                 URL: https://issues.apache.org/jira/browse/HIVE-2654
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>         Environment: Hadoop 0.20.1, Hive0.9.0 and SUSE Linux Enterprise Server 10 SP2 (i586) - Kernel 2.6.16.60-0.21-smp (5).
>            Reporter: Chinna Rao Lalam
>            Assignee: Chinna Rao Lalam
>         Attachments: HIVE-2654.D885.1.patch, HIVE-2654.patch
>
>
> if value of "hive.querylog.location" is '/tmp/root/hive123/test' if the parent directories not exist the creation of the folder is failed.

--
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-2654) "hive.querylog.location" requires parent directory to be exist or else folder creation fails

Posted by "Chinna Rao Lalam (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-2654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chinna Rao Lalam updated HIVE-2654:
-----------------------------------

    Status: Patch Available  (was: Open)
    
> "hive.querylog.location" requires parent directory to be exist or else folder creation fails
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-2654
>                 URL: https://issues.apache.org/jira/browse/HIVE-2654
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>         Environment: Hadoop 0.20.1, Hive0.9.0 and SUSE Linux Enterprise Server 10 SP2 (i586) - Kernel 2.6.16.60-0.21-smp (5).
>            Reporter: Chinna Rao Lalam
>            Assignee: Chinna Rao Lalam
>         Attachments: HIVE-2654.patch
>
>
> if value of "hive.querylog.location" is '/tmp/root/hive123/test' if the parent directories not exist the creation of the folder is failed.

--
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