<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Is it possible to run flume agent in multiple terminals with different linux users? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-run-flume-agent-in-multiple-terminals-with/m-p/158501#M33100</link>
    <description>&lt;P&gt;Grant write permissions to /var/log/flume directory. Also you can specify alternative log file for specific agent:&lt;/P&gt;&lt;PRE&gt;-Dflume.log.file=my_path/my_file.log&lt;/PRE&gt;</description>
    <pubDate>Mon, 27 Jun 2016 18:18:07 GMT</pubDate>
    <dc:creator>bluesmix</dc:creator>
    <dc:date>2016-06-27T18:18:07Z</dc:date>
    <item>
      <title>Is it possible to run flume agent in multiple terminals with different linux users?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-run-flume-agent-in-multiple-terminals-with/m-p/158500#M33099</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I tried to run flume agent in mulitple services. I am getting the error given below.&lt;/P&gt;&lt;P&gt;Info: Including Hadoop libraries found via (/usr/bin/hadoop) for HDFS access
Info: Excluding /usr/hdp/2.4.0.0-169/hadoop/lib/slf4j-api-1.7.10.jar from classpath
Info: Excluding /usr/hdp/2.4.0.0-169/hadoop/lib/slf4j-log4j12-1.7.10.jar from classpath
Info: Excluding /usr/hdp/2.4.0.0-169/tez/lib/slf4j-api-1.7.5.jar from classpath
Info: Including HBASE libraries found via (/usr/bin/hbase) for HBASE access
Info: Excluding /usr/hdp/2.4.0.0-169/hbase/lib/slf4j-api-1.7.7.jar from classpath
Info: Excluding /usr/hdp/2.4.0.0-169/hadoop/lib/slf4j-api-1.7.10.jar from classpath
Info: Excluding /usr/hdp/2.4.0.0-169/hadoop/lib/slf4j-log4j12-1.7.10.jar from classpath
Info: Excluding /usr/hdp/2.4.0.0-169/tez/lib/slf4j-api-1.7.5.jar from classpath
Info: Excluding /usr/hdp/2.4.0.0-169/hadoop/lib/slf4j-api-1.7.10.jar from classpath
Info: Excluding /usr/hdp/2.4.0.0-169/hadoop/lib/slf4j-log4j12-1.7.10.jar from classpath
Info: Excluding /usr/hdp/2.4.0.0-169/zookeeper/lib/slf4j-api-1.6.1.jar from classpath
Info: Excluding /usr/hdp/2.4.0.0-169/zookeeper/lib/slf4j-log4j12-1.6.1.jar from classpath
Info: Including Hive libraries found via () for Hive access&lt;/P&gt;&lt;P&gt;+ exec /usr/bin/java -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=4159 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false&lt;/P&gt;&lt;P&gt;log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /var/log/flume/flume.log (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.&amp;lt;init&amp;gt;(FileOutputStream.java:221)
at java.io.FileOutputStream.&amp;lt;init&amp;gt;(FileOutputStream.java:142)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)
at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:809)
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:735)
at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:615)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:502)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:547)
at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:483)
at org.apache.log4j.LogManager.&amp;lt;clinit&amp;gt;(LogManager.java:127)
at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:73)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:242)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)
at org.apache.flume.node.Application.&amp;lt;clinit&amp;gt;(Application.java:58)&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2016 18:03:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-run-flume-agent-in-multiple-terminals-with/m-p/158500#M33099</guid>
      <dc:creator>radhakrishnan_r</dc:creator>
      <dc:date>2016-06-27T18:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to run flume agent in multiple terminals with different linux users?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-run-flume-agent-in-multiple-terminals-with/m-p/158501#M33100</link>
      <description>&lt;P&gt;Grant write permissions to /var/log/flume directory. Also you can specify alternative log file for specific agent:&lt;/P&gt;&lt;PRE&gt;-Dflume.log.file=my_path/my_file.log&lt;/PRE&gt;</description>
      <pubDate>Mon, 27 Jun 2016 18:18:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-run-flume-agent-in-multiple-terminals-with/m-p/158501#M33100</guid>
      <dc:creator>bluesmix</dc:creator>
      <dc:date>2016-06-27T18:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to run flume agent in multiple terminals with different linux users?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-run-flume-agent-in-multiple-terminals-with/m-p/158502#M33101</link>
      <description>&lt;P&gt;Thank you, I try with this parameter&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2016 12:30:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-run-flume-agent-in-multiple-terminals-with/m-p/158502#M33101</guid>
      <dc:creator>radhakrishnan_r</dc:creator>
      <dc:date>2016-06-30T12:30:07Z</dc:date>
    </item>
  </channel>
</rss>

