Hi,

I'm tryin to send logs from rsyslog server to remote hdfs cluster
The rsyslog server is compiled with omhdfs support with following CDH3
rpms installed

root@dev1 ~]# rpm -qa | grep hadoop
hadoop-0.20-libhdfs-0.20.2+923.21-1
hadoop-0.20-source-0.20.2+923.21-1
hadoop-0.20-native-0.20.2+923.21-1
hadoop-0.20-0.20.2+923.21-1
[root@dev1 ~]#   

trying the following
----------------
$ModLoad omhdfs

$OMHDFSHost hadoop-master1.internal
$OMHDFSPort 8020
$OMHDFSFileName /var/log/logfile
local3.info :omhdfs:
----------------

i get the following error

2011-04-27T23:19:06.335954+00:00 dev1 rsyslogd-2179: omhdfs: failed to
open /var/log/logfile - retrying later [try http://www.rsyslog.com/e/2179 ]

I fail to understand the meaning of $OMHDFSFileName directive
does this refers to file which will/should be created withing the hdfs
filesystem?

In core-site.xml I have
       <property>
                <name>fs.default.name</name>
                <value>hdfs://hadoop-master1a.internal:8020</value>
        </property>
so  I've set the following
$OMHDFSHost hadoop-master1.internal
$OMHDFSPort 8020

What am I doing wrong?

Thanks
Alex
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to