This would require a special HDFS log4j appender. Alternatively try the flume log4j appender
> On 08 Dec 2015, at 13:00, sunil m <[email protected]> wrote: > > Hi! > I configured log4j.properties file in conf folder of spark with following > values... > > log4j.appender.file.File=hdfs://<path_to_log_file> > > I expected all log files to log output to the file in HDFS. > Instead files are created locally. > > Has anybody tried logging to HDFS by configuring log4j.properties? > > Warm regards, > Sunil M --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
