Hi,
We are getting this error after installing "Hadoop ops" app.
Error in 'SearchParser': Could not find macro 'hadoop_mr_summary_table' that takes 0 arguments. Expecting stanza name 'hadoop_mr_summary_table'.
Error in 'SearchParser': Could not find macro 'hadoop_task_summary_table' that takes 0 arguments. Expecting stanza name 'hadoop_task_summary_table'.
Error in 'SearchParser': Could not find macro 'hadoop_job_summary_table' that takes 0 arguments. Expecting stanza name 'hadoop_job_summary_table'.
We had installed splunk_for_hadoopops & Splunk_TA_hadoopops in /opt/splunk/etc/apps
We had added /opt/splunk/etc/apps/splunk_for_hadoopops/local/inputs.conf with the help of inputs.conf.cdh3.example.
Edited /opt/splunk/etc/apps/Splunk_TA_hadoopops/default/eventgen.conf with correct and splunk port and password.
But still we are getting the error.
Any thoughts?
Thanks
a quickfix worth trying is running this search query in 'HadoopOps'->'Search'
"|savedsearch __generate_lookup_hadoop_host2hdfs"
You should see a message like "Results written to file '/opt/splunk/etc/apps/SA-HadoopOps/lookups/hadoop_host2hdfs.csv'". If this works, same trick for host2mapred:
"|savedsearch __generate_lookup_hadoop_host2mapred"
Can you paste the related parts from '/opt/splunk/etc/apps/SA-HadoopOps/default/macros.conf'?
Splunk: 5.0.3
splunk_app_hadoopops-1.1.1-158225
Hadoop: Cloudera CDH3u1
OS: Ubuntu 32 bit. Is there any issues when we use 32 bit OS?
Sorry that you are having trouble. Can you provide some more information?