You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Tim Armstrong (JIRA)" <ji...@apache.org> on 2018/11/02 19:28:00 UTC
[jira] [Resolved] (IMPALA-1830) HADOOP_CLASSPATH variable breaks
ZSH
[ https://issues.apache.org/jira/browse/IMPALA-1830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Armstrong resolved IMPALA-1830.
-----------------------------------
Resolution: Fixed
commit e2bfb6ae2f1d3c6df6dd09e1b7c310f5f71982fb
Author: Casey Ching <ca...@cloudera.com>
Date: Wed Dec 9 15:59:19 2015 -0800
Misc improvements to shell scripts about error reporting
Changes:
1) Consistently use "set -euo pipefail".
2) When an error happens, print the file and line.
3) Consolidated some of the kill scripts.
4) Added better error messages to the load data script.
5) Changed use of #!/bin/sh to bash.
Change-Id: I14fef66c46c1b4461859382ba3fd0dee0fbcdce1
Reviewed-on: http://gerrit.cloudera.org:8080/1620
Reviewed-by: Casey Ching <ca...@cloudera.com>
Tested-by: Internal Jenkins
> HADOOP_CLASSPATH variable breaks ZSH
> ------------------------------------
>
> Key: IMPALA-1830
> URL: https://issues.apache.org/jira/browse/IMPALA-1830
> Project: IMPALA
> Issue Type: Bug
> Components: Infrastructure
> Affects Versions: Impala 2.1.1
> Reporter: Martin Grund
> Priority: Minor
> Labels: usability
>
> Loading testdata is not possible in ZSH since the script relies on {{HADOOP_CLASSPATH}} that is set in {{impala-config.sh}}. The problem is that it is set using explicit globbing of a path that is not possible in ZSH and I would consider it as not desirable as it could pull in arbitrary jars.
> The offending line
> {code}
> export HADOOP_CLASSPATH=$HADOOP_CLASSPATH:$HADOOP_HOME/share/hadoop/tools/lib/*
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org