You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Arpit Gupta (Created) (JIRA)" <ji...@apache.org> on 2012/02/15 01:41:59 UTC
[jira] [Created] (SQOOP-438) allow sourcing of sqoop-env.sh to set
various environment variables
allow sourcing of sqoop-env.sh to set various environment variables
-------------------------------------------------------------------
Key: SQOOP-438
URL: https://issues.apache.org/jira/browse/SQOOP-438
Project: Sqoop
Issue Type: Improvement
Affects Versions: 1.4.0-incubating
Reporter: Arpit Gupta
Attachments: SQOOP-438.patch
currently if you want to use a different path for HADOOP_HOME than expected you have to specify --hadoop-home or export HADOOP_HOME env var.
We could add sqoop-env.sh and source it in bin/configure-sqoop so the users can actually set the variables in conf rather than having to do it every time sqoop is invoked.
--
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] [Assigned] (SQOOP-438) allow sourcing of sqoop-env.sh to set
various environment variables
Posted by "Arvind Prabhakar (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SQOOP-438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arvind Prabhakar reassigned SQOOP-438:
--------------------------------------
Assignee: Arpit Gupta
> allow sourcing of sqoop-env.sh to set various environment variables
> -------------------------------------------------------------------
>
> Key: SQOOP-438
> URL: https://issues.apache.org/jira/browse/SQOOP-438
> Project: Sqoop
> Issue Type: Improvement
> Affects Versions: 1.4.0-incubating
> Reporter: Arpit Gupta
> Assignee: Arpit Gupta
> Attachments: SQOOP-438.patch, SQOOP-438.patch
>
>
> currently if you want to use a different path for HADOOP_HOME than expected you have to specify --hadoop-home or export HADOOP_HOME env var.
> We could add sqoop-env.sh and source it in bin/configure-sqoop so the users can actually set the variables in conf rather than having to do it every time sqoop is invoked.
--
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] (SQOOP-438) allow sourcing of sqoop-env.sh to set
various environment variables
Posted by "Arpit Gupta (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SQOOP-438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arpit Gupta updated SQOOP-438:
------------------------------
Status: Patch Available (was: Open)
> allow sourcing of sqoop-env.sh to set various environment variables
> -------------------------------------------------------------------
>
> Key: SQOOP-438
> URL: https://issues.apache.org/jira/browse/SQOOP-438
> Project: Sqoop
> Issue Type: Improvement
> Affects Versions: 1.4.0-incubating
> Reporter: Arpit Gupta
> Assignee: Arpit Gupta
> Attachments: SQOOP-438.patch, SQOOP-438.patch
>
>
> currently if you want to use a different path for HADOOP_HOME than expected you have to specify --hadoop-home or export HADOOP_HOME env var.
> We could add sqoop-env.sh and source it in bin/configure-sqoop so the users can actually set the variables in conf rather than having to do it every time sqoop is invoked.
--
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] (SQOOP-438) allow sourcing of sqoop-env.sh to
set various environment variables
Posted by "Jarek Jarcec Cecho (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SQOOP-438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209722#comment-13209722 ]
Jarek Jarcec Cecho commented on SQOOP-438:
------------------------------------------
Hi Arpit,
thank you very much for your idea and time spent on this issue. Would you mind uploading your patch to Apache review board for review process? (https://reviews.apache.org).
Jarcec
> allow sourcing of sqoop-env.sh to set various environment variables
> -------------------------------------------------------------------
>
> Key: SQOOP-438
> URL: https://issues.apache.org/jira/browse/SQOOP-438
> Project: Sqoop
> Issue Type: Improvement
> Affects Versions: 1.4.0-incubating
> Reporter: Arpit Gupta
> Assignee: Arpit Gupta
> Attachments: SQOOP-438.patch, SQOOP-438.patch
>
>
> currently if you want to use a different path for HADOOP_HOME than expected you have to specify --hadoop-home or export HADOOP_HOME env var.
> We could add sqoop-env.sh and source it in bin/configure-sqoop so the users can actually set the variables in conf rather than having to do it every time sqoop is invoked.
--
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] (SQOOP-438) allow sourcing of sqoop-env.sh to set
various environment variables
Posted by "Bilung Lee (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SQOOP-438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bilung Lee updated SQOOP-438:
-----------------------------
Fix Version/s: 1.4.2-incubating
> allow sourcing of sqoop-env.sh to set various environment variables
> -------------------------------------------------------------------
>
> Key: SQOOP-438
> URL: https://issues.apache.org/jira/browse/SQOOP-438
> Project: Sqoop
> Issue Type: Improvement
> Affects Versions: 1.4.0-incubating
> Reporter: Arpit Gupta
> Assignee: Arpit Gupta
> Fix For: 1.4.2-incubating
>
> Attachments: SQOOP-438.patch, SQOOP-438.patch
>
>
> currently if you want to use a different path for HADOOP_HOME than expected you have to specify --hadoop-home or export HADOOP_HOME env var.
> We could add sqoop-env.sh and source it in bin/configure-sqoop so the users can actually set the variables in conf rather than having to do it every time sqoop is invoked.
--
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] (SQOOP-438) allow sourcing of sqoop-env.sh to set
various environment variables
Posted by "Arpit Gupta (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SQOOP-438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arpit Gupta updated SQOOP-438:
------------------------------
Attachment: SQOOP-438.patch
attached a patch for source sqoop-env.sh
> allow sourcing of sqoop-env.sh to set various environment variables
> -------------------------------------------------------------------
>
> Key: SQOOP-438
> URL: https://issues.apache.org/jira/browse/SQOOP-438
> Project: Sqoop
> Issue Type: Improvement
> Affects Versions: 1.4.0-incubating
> Reporter: Arpit Gupta
> Attachments: SQOOP-438.patch
>
>
> currently if you want to use a different path for HADOOP_HOME than expected you have to specify --hadoop-home or export HADOOP_HOME env var.
> We could add sqoop-env.sh and source it in bin/configure-sqoop so the users can actually set the variables in conf rather than having to do it every time sqoop is invoked.
--
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] (SQOOP-438) allow sourcing of sqoop-env.sh to set
various environment variables
Posted by "Jarek Jarcec Cecho (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SQOOP-438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jarek Jarcec Cecho updated SQOOP-438:
-------------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
Patch committed, thank you very much Arpit!
> allow sourcing of sqoop-env.sh to set various environment variables
> -------------------------------------------------------------------
>
> Key: SQOOP-438
> URL: https://issues.apache.org/jira/browse/SQOOP-438
> Project: Sqoop
> Issue Type: Improvement
> Affects Versions: 1.4.0-incubating
> Reporter: Arpit Gupta
> Assignee: Arpit Gupta
> Attachments: SQOOP-438.patch, SQOOP-438.patch
>
>
> currently if you want to use a different path for HADOOP_HOME than expected you have to specify --hadoop-home or export HADOOP_HOME env var.
> We could add sqoop-env.sh and source it in bin/configure-sqoop so the users can actually set the variables in conf rather than having to do it every time sqoop is invoked.
--
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] (SQOOP-438) allow sourcing of sqoop-env.sh to
set various environment variables
Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SQOOP-438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13211011#comment-13211011 ]
jiraposter@reviews.apache.org commented on SQOOP-438:
-----------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3935/#review5210
-----------------------------------------------------------
Ship it!
Thank you for your time Arpid!
- Jarek
On 2012-02-16 21:00:45, Arpit Gupta wrote:
bq.
bq. -----------------------------------------------------------
bq. This is an automatically generated e-mail. To reply, visit:
bq. https://reviews.apache.org/r/3935/
bq. -----------------------------------------------------------
bq.
bq. (Updated 2012-02-16 21:00:45)
bq.
bq.
bq. Review request for Sqoop.
bq.
bq.
bq. Summary
bq. -------
bq.
bq. allow sourcing of sqoop-env.sh to set various env vars.
bq.
bq.
bq. This addresses bug SQOOP-438.
bq. https://issues.apache.org/jira/browse/SQOOP-438
bq.
bq.
bq. Diffs
bq. -----
bq.
bq. bin/configure-sqoop 9101d53
bq. conf/sqoop-env-template.sh PRE-CREATION
bq.
bq. Diff: https://reviews.apache.org/r/3935/diff
bq.
bq.
bq. Testing
bq. -------
bq.
bq. used sqoop with this patch applied and did not have to export HADOOP_HOME, HIVE_HOME and HBASE_HOME etc
bq.
bq.
bq. Thanks,
bq.
bq. Arpit
bq.
bq.
> allow sourcing of sqoop-env.sh to set various environment variables
> -------------------------------------------------------------------
>
> Key: SQOOP-438
> URL: https://issues.apache.org/jira/browse/SQOOP-438
> Project: Sqoop
> Issue Type: Improvement
> Affects Versions: 1.4.0-incubating
> Reporter: Arpit Gupta
> Assignee: Arpit Gupta
> Attachments: SQOOP-438.patch, SQOOP-438.patch
>
>
> currently if you want to use a different path for HADOOP_HOME than expected you have to specify --hadoop-home or export HADOOP_HOME env var.
> We could add sqoop-env.sh and source it in bin/configure-sqoop so the users can actually set the variables in conf rather than having to do it every time sqoop is invoked.
--
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] (SQOOP-438) allow sourcing of sqoop-env.sh to
set various environment variables
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SQOOP-438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13214999#comment-13214999 ]
Hudson commented on SQOOP-438:
------------------------------
Integrated in Sqoop-ant-jdk-1.6 #87 (See [https://builds.apache.org/job/Sqoop-ant-jdk-1.6/87/])
SQOOP-438. allow sourcing of sqoop-env.sh to set various environment variables
(Arpit Gupta via Jarek Jarcec Cecho) (Revision 1292917)
Result = SUCCESS
jarcec : http://svn.apache.org/viewvc/?view=rev&rev=1292917
Files :
* /incubator/sqoop/trunk/bin/configure-sqoop
* /incubator/sqoop/trunk/conf/sqoop-env-template.sh
> allow sourcing of sqoop-env.sh to set various environment variables
> -------------------------------------------------------------------
>
> Key: SQOOP-438
> URL: https://issues.apache.org/jira/browse/SQOOP-438
> Project: Sqoop
> Issue Type: Improvement
> Affects Versions: 1.4.0-incubating
> Reporter: Arpit Gupta
> Assignee: Arpit Gupta
> Attachments: SQOOP-438.patch, SQOOP-438.patch
>
>
> currently if you want to use a different path for HADOOP_HOME than expected you have to specify --hadoop-home or export HADOOP_HOME env var.
> We could add sqoop-env.sh and source it in bin/configure-sqoop so the users can actually set the variables in conf rather than having to do it every time sqoop is invoked.
--
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] (SQOOP-438) allow sourcing of sqoop-env.sh to set
various environment variables
Posted by "Arpit Gupta (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SQOOP-438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arpit Gupta updated SQOOP-438:
------------------------------
Attachment: SQOOP-438.patch
add export in the sqoop-env-template.sh
> allow sourcing of sqoop-env.sh to set various environment variables
> -------------------------------------------------------------------
>
> Key: SQOOP-438
> URL: https://issues.apache.org/jira/browse/SQOOP-438
> Project: Sqoop
> Issue Type: Improvement
> Affects Versions: 1.4.0-incubating
> Reporter: Arpit Gupta
> Attachments: SQOOP-438.patch, SQOOP-438.patch
>
>
> currently if you want to use a different path for HADOOP_HOME than expected you have to specify --hadoop-home or export HADOOP_HOME env var.
> We could add sqoop-env.sh and source it in bin/configure-sqoop so the users can actually set the variables in conf rather than having to do it every time sqoop is invoked.
--
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] (SQOOP-438) allow sourcing of sqoop-env.sh to
set various environment variables
Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SQOOP-438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209734#comment-13209734 ]
jiraposter@reviews.apache.org commented on SQOOP-438:
-----------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3935/
-----------------------------------------------------------
Review request for Sqoop.
Summary
-------
allow sourcing of sqoop-env.sh to set various env vars.
This addresses bug SQOOP-438.
https://issues.apache.org/jira/browse/SQOOP-438
Diffs
-----
bin/configure-sqoop 9101d53
conf/sqoop-env-template.sh PRE-CREATION
Diff: https://reviews.apache.org/r/3935/diff
Testing
-------
used sqoop with this patch applied and did not have to export HADOOP_HOME, HIVE_HOME and HBASE_HOME etc
Thanks,
Arpit
> allow sourcing of sqoop-env.sh to set various environment variables
> -------------------------------------------------------------------
>
> Key: SQOOP-438
> URL: https://issues.apache.org/jira/browse/SQOOP-438
> Project: Sqoop
> Issue Type: Improvement
> Affects Versions: 1.4.0-incubating
> Reporter: Arpit Gupta
> Assignee: Arpit Gupta
> Attachments: SQOOP-438.patch, SQOOP-438.patch
>
>
> currently if you want to use a different path for HADOOP_HOME than expected you have to specify --hadoop-home or export HADOOP_HOME env var.
> We could add sqoop-env.sh and source it in bin/configure-sqoop so the users can actually set the variables in conf rather than having to do it every time sqoop is invoked.
--
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