Skip to content

Commit

Permalink
fix kagent logfile paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Dowling committed Aug 29, 2016
1 parent c1c3230 commit d03c4df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion recipes/dn.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
#if node.kagent.enabled == "true"
kagent_config "#{service_name}" do
service "HDFS"
log_file "#{node.apache_hadoop.logs_dir}/hadoop-#{node.apache_hadoop.hdfs.user}-#{service_name}-#{node.hostname}.out"
log_file "#{node.apache_hadoop.logs_dir}/hadoop-#{node.apache_hadoop.hdfs.user}-#{service_name}-#{node.hostname}.log"
config_file "#{node.apache_hadoop.conf_dir}/hdfs-site.xml"
web_port node.apache_hadoop.dn.http_port
# command "hdfs"
Expand Down
2 changes: 1 addition & 1 deletion recipes/nn.rb
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
kagent_config "#{service_name}" do
service "HDFS"
config_file "#{node.apache_hadoop.conf_dir}/hdfs-site.xml"
log_file "#{node.apache_hadoop.logs_dir}/hadoop-#{node.apache_hadoop.hdfs.user}-#{service_name}-#{node.hostname}.out"
log_file "#{node.apache_hadoop.logs_dir}/hadoop-#{node.apache_hadoop.hdfs.user}-#{service_name}-#{node.hostname}.log"
web_port node.apache_hadoop.nn.http_port
end
end
Expand Down

0 comments on commit d03c4df

Please sign in to comment.