log4j.properties file question…

to create new topics or reply. | New User Registration

This topic contains 1 reply, has 2 voices, and was last updated by  Seth Lyubich 2 years ago.

  • Creator
    Topic
  • #28420

    I currently have a configuration problem. Rather than blowing everything away. I am trying to resolve the problem. It would seem that the file: /etc/hadoop/conf/ log4j.properties gets regenerated on the fly. If I delete it or edit it and make a change, it goes back to the way it way. My current problem is that the MapReduce jobtracker (main) looks to log4j.properties to point to the correct postgres db. It keeps pointing to localhost and not the host that ha the database. Where does this file get generated from? Does anyone know?

    –Trevor Williams

Viewing 1 replies (of 1 total)

You must be to reply to this topic. | Create Account

  • Author
    Replies
  • #28535

    Seth Lyubich
    Keymaster

    Hi Trevor,

    Please make sure that Ambari server has hostname setup correctly. Please check with hostname and hostname -f command on the ambari server.

    Hope this helps,

    Thanks,
    Seth

    Collapse
Viewing 1 replies (of 1 total)
Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.