It runs fine. But if I have the scripts link/directory, it complains of:
Failed to configure logging...
org.elasticsearch.ElasticsearchException: Failed to load logging
configuration
at
org.elasticsearch.common.logging.log4j.LogConfigurator.resolveConfig(LogConfigurator.java:117)
at
org.elasticsearch.common.logging.log4j.LogConfigurator.configure(LogConfigurator.java:81)
at org.elasticsearch.bootstrap.Bootstrap.setupLogging(Bootstrap.java:94)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:178)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)
Caused by: java.nio.file.FileSystemException: /data/elastic-1/config:
Unknown error 1912615013
at sun.nio.fs.UnixException.translateToIOException(Unknown Source)
at sun.nio.fs.UnixException.asIOException(Unknown Source)
at
sun.nio.fs.UnixDirectoryStream$UnixDirectoryIterator.readNextEntry(Unknown
Source)
at sun.nio.fs.UnixDirectoryStream$UnixDirectoryIterator.hasNext(Unknown
Source)
at java.nio.file.FileTreeWalker.walk(Unknown Source)
at java.nio.file.FileTreeWalker.walk(Unknown Source)
at java.nio.file.Files.walkFileTree(Unknown Source)
at
org.elasticsearch.common.logging.log4j.LogConfigurator.resolveConfig(LogConfigurator.java:107)
... 4 more
log4j:WARN No appenders could be found for logger (common.jna).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
more info.
Did more experiments. If I used a "real" scripts directory, instead of a
symbolic link,
then no error message. But does this means that I will have to drop the
same script
into all my server's config/scripts directory ? It would be nice to use
symbolic links
for this.
Any suggestions ?
On Wednesday, July 30, 2014 1:36:24 PM UTC-5, Peter Li wrote:
I have a setup with multiple servers.
The file tree for each is like the following:
It runs fine. But if I have the scripts link/directory, it complains of:
Failed to configure logging...
org.elasticsearch.ElasticsearchException: Failed to load logging
configuration
at
org.elasticsearch.common.logging.log4j.LogConfigurator.resolveConfig(LogConfigurator.java:117)
at
org.elasticsearch.common.logging.log4j.LogConfigurator.configure(LogConfigurator.java:81)
at org.elasticsearch.bootstrap.Bootstrap.setupLogging(Bootstrap.java:94)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:178)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)
Caused by: java.nio.file.FileSystemException: /data/elastic-1/config:
Unknown error 1912615013
at sun.nio.fs.UnixException.translateToIOException(Unknown Source)
at sun.nio.fs.UnixException.asIOException(Unknown Source)
at
sun.nio.fs.UnixDirectoryStream$UnixDirectoryIterator.readNextEntry(Unknown
Source)
at sun.nio.fs.UnixDirectoryStream$UnixDirectoryIterator.hasNext(Unknown
Source)
at java.nio.file.FileTreeWalker.walk(Unknown Source)
at java.nio.file.FileTreeWalker.walk(Unknown Source)
at java.nio.file.Files.walkFileTree(Unknown Source)
at
org.elasticsearch.common.logging.log4j.LogConfigurator.resolveConfig(LogConfigurator.java:107)
... 4 more
log4j:WARN No appenders could be found for logger (common.jna).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See Apache log4j 1.2 - Frequently Asked Technical Questions for
more info.
Did more experiments. If I used a "real" scripts directory, instead of a
symbolic link,
then no error message. But does this means that I will have to drop the
same script
into all my server's config/scripts directory ? It would be nice to use
symbolic links
for this.
Any suggestions ?
On Wednesday, July 30, 2014 1:36:24 PM UTC-5, Peter Li wrote:
I have a setup with multiple servers.
The file tree for each is like the following:
It runs fine. But if I have the scripts link/directory, it complains of:
Failed to configure logging...
org.elasticsearch.ElasticsearchException: Failed to load logging
configuration
at org.elasticsearch.common.logging.log4j.LogConfigurator.
resolveConfig(LogConfigurator.java:117)
at org.elasticsearch.common.logging.log4j.LogConfigurator.
configure(LogConfigurator.java:81)
at org.elasticsearch.bootstrap.Bootstrap.setupLogging(Bootstrap.java:94)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:178)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)
Caused by: java.nio.file.FileSystemException: /data/elastic-1/config:
Unknown error 1912615013
at sun.nio.fs.UnixException.translateToIOException(Unknown Source)
at sun.nio.fs.UnixException.asIOException(Unknown Source)
at sun.nio.fs.UnixDirectoryStream$UnixDirectoryIterator.readNextEntry(Unknown
Source)
at sun.nio.fs.UnixDirectoryStream$UnixDirectoryIterator.hasNext(Unknown
Source)
at java.nio.file.FileTreeWalker.walk(Unknown Source)
at java.nio.file.FileTreeWalker.walk(Unknown Source)
at java.nio.file.Files.walkFileTree(Unknown Source)
at org.elasticsearch.common.logging.log4j.LogConfigurator.
resolveConfig(LogConfigurator.java:107)
... 4 more
log4j:WARN No appenders could be found for logger (common.jna).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See Apache log4j 1.2 - Frequently Asked Technical Questions for
more info.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.