[
https://issues.apache.org/jira/browse/FLUME-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13458142#comment-13458142
]
Brock Noland commented on FLUME-1558:
-------------------------------------
Key store password file does not exist:
{noformat}
va.lang.RuntimeException: java.io.FileNotFoundException:
/etc/flume/conf/keystore.password (No such file or directory)
at com.google.common.base.Throwables.propagate(Throwables.java:156)
at
org.apache.flume.channel.file.encryption.JCEFileKeyProvider.<init>(JCEFileKeyProvider.java:59)
at
org.apache.flume.channel.file.encryption.JCEFileKeyProvider$Builder.build(JCEFileKeyProvider.java:117)
at
org.apache.flume.channel.file.encryption.KeyProviderFactory.getInstance(KeyProviderFactory.java:79)
at
org.apache.flume.channel.file.FileChannel.configure(FileChannel.java:227)
at org.apache.flume.conf.Configurables.configure(Configurables.java:41)
at
org.apache.flume.conf.properties.PropertiesFileConfigurationProvider.loadChannels(PropertiesFileConfigurationProvider.java:271)
at
org.apache.flume.conf.properties.PropertiesFileConfigurationProvider.load(PropertiesFileConfigurationProvider.java:221)
at
org.apache.flume.conf.file.AbstractFileConfigurationProvider.doLoad(AbstractFileConfigurationProvider.java:123)
at
org.apache.flume.conf.file.AbstractFileConfigurationProvider.access$300(AbstractFileConfigurationProvider.java:38)
at
org.apache.flume.conf.file.AbstractFileConfigurationProvider$FileWatcherRunnable.run(AbstractFileConfigurationProvider.java:202)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.io.FileNotFoundException: /etc/flume/conf/keystore.password (No
such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:120)
at com.google.common.io.Files$1.getInput(Files.java:105)
at com.google.common.io.Files$1.getInput(Files.java:102)
at com.google.common.io.ByteStreams.toByteArray(ByteStreams.java:249)
at com.google.common.io.Files.toByteArray(Files.java:197)
at com.google.common.io.Files.toString(Files.java:223)
at
org.apache.flume.channel.file.encryption.JCEFileKeyProvider.<init>(JCEFileKeyProvider.java:55)
... 18 more
{noformat}
> FileChannel Document errors when various Encryption options are not specified
> or specified bad
> ----------------------------------------------------------------------------------------------
>
> Key: FLUME-1558
> URL: https://issues.apache.org/jira/browse/FLUME-1558
> Project: Flume
> Issue Type: Improvement
> Components: Docs
> Reporter: Brock Noland
> Priority: Minor
>
> Encryption errors are notoriously bad. We should document what happens when
> you don't specified the various file channel encryption options correctly.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira