- bin/flume-ng: line X: syntax error in conditional expression (flume)
- add " symbol. for instance,
- if [[ $line =~ "^java\.library\.path=(.*)$" ]]; then
- or, update bash.
- check bash version using 'bash -version' command
- add " symbol. for instance,
- warning: unprotected private key file! / permissions 0xxx for 'path/to/id_rsa' are too open (OpenSSH)
- chmod 600 path/to/id_rsa
- ask for password, even authorized_keys file exists (SSH)
- chmod 700 .ssh
- chmod 644 .ssh/authorized_keys
- failed to recv file (R - scp)
- check the file path
- no lines available in input / 입력에 가능한 라인들이 없습니다 (R - read.table with pipe)
- check the file path
- java.net.MalformedURLException: unknown protocol: hdfs (java)
- add 'URL.setURLStreamHandlerFactory(new FsUrlStreamHandlerFactory());'
- argument list too long (curl)
- it causes the error, because 'cat base64.txt' returns long content
- curl -XPOST "http://localhost:9200/test/person" -d '
{
"file" : {
"_content" : "'`cat base64.txt`'"
}
}'
- use '@-' to solve the problem
- curl -XPOST "http://localhost:9200/test/person" -d @- <<CURL_DATA
{
"file" : {
"_content" : "`cat base64.txt`"
}
}
CURL_DATA - note that you can use any string instead of CURL_DATA, and there is no single quote inside the value of _content this time
- it causes the error, because 'cat base64.txt' returns long content
- invalid target release: 1.7 (maven)
- export JAVA_HOME=<java home path>
Monday, August 31, 2015
Help 4 Error - Old
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.