-
-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hadoop command in shell scripts give Kcov error #186
Comments
I really have no clue as to what causes this. Is the hadoop command a shell script as well? |
Hi Simon,
I will provide this with better example, as it has nothing to do with hadoop command.Probably will post it soon.
RegardsBhaskar Rana
On Tuesday, 21 February 2017 10:34 PM, Simon Kagstrom <notifications@github.com> wrote:
I really have no clue as to what causes this. Is the hadoop command a shell script as well?—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hi Simon, Here is sample cat test BIGTOP_DEFAULTS_DIR=${BIGTOP_DEFAULTS_DIR-/etc/default} JAVA6_HOME_CANDIDATES=( This file gives error cat testError.sh . /home/abcaxis/A//abcdef/abcdef/abcdef/abcdef/abcdef/abcdef/abcdef/abcdef/abcdef/abcdef/test Output This file donot give error The difference is the directory nested level |
Yes, I'm afraid this is a bash PS4 limitation, which will cut the string after some character limit. Again, it might be good to test the |
Hi Simon,
As hadoop command in shell script throwing error
$ kcov /tmp/out test.sh
O/P
kcov: error: ]} ${JAVA8_HOME_CANDIDATES[ is not an integer
kcov: error: ]}'
is not an integer
kcov: error: HADOOP_COMMON_DIR=./
is not an integer
kcov: error: HADOOP_COMMON_LIB_JARS_DIR=lib
is not an integer
kcov: error: HADOOP_COMMON_LIB_NATIVE_DIR=lib/native
is not an integer
kcov: error: HDFS_DIR=./
is not an integer
Following is the script
cat test.sh
#!/bin/bash
hadoop fs -ls
Regards
Bhaskar Rana
The text was updated successfully, but these errors were encountered: