You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2010/08/23 06:20:16 UTC

[jira] Created: (HIVE-1583) Hive should not override Hadoop specific system properties

Hive should not override Hadoop specific system properties
----------------------------------------------------------

                 Key: HIVE-1583
                 URL: https://issues.apache.org/jira/browse/HIVE-1583
             Project: Hadoop Hive
          Issue Type: Bug
          Components: Configuration
            Reporter: Amareshwari Sriramadasu


Currently Hive overrides Hadoop specific system properties such as HADOOP_CLASSPATH.
It does the following in bin/hive script :
{code}
# pass classpath to hadoop
export HADOOP_CLASSPATH=${CLASSPATH}
{code}
Instead, It should honor the value of HADOOP_CLASSPATH set by client by appending CLASSPATH to it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1583) Hive should not override Hadoop specific system properties

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

Thiruvel Thirumoolan commented on HIVE-1583:
--------------------------------------------

Same is the case with CLASSPATH, its being reset.

CLASSPATH="${HIVE_CONF_DIR}"

> Hive should not override Hadoop specific system properties
> ----------------------------------------------------------
>
>                 Key: HIVE-1583
>                 URL: https://issues.apache.org/jira/browse/HIVE-1583
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Configuration
>            Reporter: Amareshwari Sriramadasu
>
> Currently Hive overrides Hadoop specific system properties such as HADOOP_CLASSPATH.
> It does the following in bin/hive script :
> {code}
> # pass classpath to hadoop
> export HADOOP_CLASSPATH=${CLASSPATH}
> {code}
> Instead, It should honor the value of HADOOP_CLASSPATH set by client by appending CLASSPATH to it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1583) Hive should not override Hadoop specific system properties

Posted by "Joydeep Sen Sarma (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12902149#action_12902149 ] 

Joydeep Sen Sarma commented on HIVE-1583:
-----------------------------------------

+1 on HADOOP_CLASSPATH.

i am not sure about CLASSPATH. Hadoop itself does not allow users to supply pre-existing value for CLASSPATH. here's snippet from 0.20 conf:

# CLASSPATH initially contains $HADOOP_CONF_DIR                                                                                
CLASSPATH="${HADOOP_CONF_DIR}"



> Hive should not override Hadoop specific system properties
> ----------------------------------------------------------
>
>                 Key: HIVE-1583
>                 URL: https://issues.apache.org/jira/browse/HIVE-1583
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Configuration
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Thiruvel Thirumoolan
>         Attachments: HIVE-1583.patch
>
>
> Currently Hive overrides Hadoop specific system properties such as HADOOP_CLASSPATH.
> It does the following in bin/hive script :
> {code}
> # pass classpath to hadoop
> export HADOOP_CLASSPATH=${CLASSPATH}
> {code}
> Instead, It should honor the value of HADOOP_CLASSPATH set by client by appending CLASSPATH to it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HIVE-1583) Hive should not override Hadoop specific system properties

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

John Sichi reassigned HIVE-1583:
--------------------------------

    Assignee: Thiruvel Thirumoolan

> Hive should not override Hadoop specific system properties
> ----------------------------------------------------------
>
>                 Key: HIVE-1583
>                 URL: https://issues.apache.org/jira/browse/HIVE-1583
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Configuration
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Thiruvel Thirumoolan
>         Attachments: HIVE-1583.patch
>
>
> Currently Hive overrides Hadoop specific system properties such as HADOOP_CLASSPATH.
> It does the following in bin/hive script :
> {code}
> # pass classpath to hadoop
> export HADOOP_CLASSPATH=${CLASSPATH}
> {code}
> Instead, It should honor the value of HADOOP_CLASSPATH set by client by appending CLASSPATH to it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-1583) Hive should not override Hadoop specific system properties

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

Thiruvel Thirumoolan updated HIVE-1583:
---------------------------------------

    Attachment: HIVE-1583_2.patch

Have removed the changes for CLASSPATH.

> Hive should not override Hadoop specific system properties
> ----------------------------------------------------------
>
>                 Key: HIVE-1583
>                 URL: https://issues.apache.org/jira/browse/HIVE-1583
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Configuration
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Thiruvel Thirumoolan
>         Attachments: HIVE-1583.patch, HIVE-1583_2.patch
>
>
> Currently Hive overrides Hadoop specific system properties such as HADOOP_CLASSPATH.
> It does the following in bin/hive script :
> {code}
> # pass classpath to hadoop
> export HADOOP_CLASSPATH=${CLASSPATH}
> {code}
> Instead, It should honor the value of HADOOP_CLASSPATH set by client by appending CLASSPATH to it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1583) Hive should not override Hadoop specific system properties

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

Amareshwari Sriramadasu commented on HIVE-1583:
-----------------------------------------------

Patch looks fine to me.

> Hive should not override Hadoop specific system properties
> ----------------------------------------------------------
>
>                 Key: HIVE-1583
>                 URL: https://issues.apache.org/jira/browse/HIVE-1583
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Configuration
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Thiruvel Thirumoolan
>         Attachments: HIVE-1583.patch
>
>
> Currently Hive overrides Hadoop specific system properties such as HADOOP_CLASSPATH.
> It does the following in bin/hive script :
> {code}
> # pass classpath to hadoop
> export HADOOP_CLASSPATH=${CLASSPATH}
> {code}
> Instead, It should honor the value of HADOOP_CLASSPATH set by client by appending CLASSPATH to it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-1583) Hive should not override Hadoop specific system properties

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

Amareshwari Sriramadasu updated HIVE-1583:
------------------------------------------

    Status: Patch Available  (was: Open)

Making it Patch available.

> Hive should not override Hadoop specific system properties
> ----------------------------------------------------------
>
>                 Key: HIVE-1583
>                 URL: https://issues.apache.org/jira/browse/HIVE-1583
>             Project: Hive
>          Issue Type: Bug
>          Components: Configuration
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Thiruvel Thirumoolan
>         Attachments: HIVE-1583.patch, HIVE-1583_2.patch
>
>
> Currently Hive overrides Hadoop specific system properties such as HADOOP_CLASSPATH.
> It does the following in bin/hive script :
> {code}
> # pass classpath to hadoop
> export HADOOP_CLASSPATH=${CLASSPATH}
> {code}
> Instead, It should honor the value of HADOOP_CLASSPATH set by client by appending CLASSPATH to it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-1583) Hive should not override Hadoop specific system properties

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

Thiruvel Thirumoolan updated HIVE-1583:
---------------------------------------

    Attachment: HIVE-1583.patch

Attaching patch.

What users set on the shell for CLASSPATH or HADOOP_CLASSPATH will be picked up first. I guess thats OK.

> Hive should not override Hadoop specific system properties
> ----------------------------------------------------------
>
>                 Key: HIVE-1583
>                 URL: https://issues.apache.org/jira/browse/HIVE-1583
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Configuration
>            Reporter: Amareshwari Sriramadasu
>         Attachments: HIVE-1583.patch
>
>
> Currently Hive overrides Hadoop specific system properties such as HADOOP_CLASSPATH.
> It does the following in bin/hive script :
> {code}
> # pass classpath to hadoop
> export HADOOP_CLASSPATH=${CLASSPATH}
> {code}
> Instead, It should honor the value of HADOOP_CLASSPATH set by client by appending CLASSPATH to it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.