Re: Review Request 52038: AMBARI-18418 StackServiceDirectory debug messages are logged with placeholders

2016-09-21 Thread Sebastian Toader

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/52038/#review149798
---


Ship it!




Ship It!

- Sebastian Toader


On Sept. 19, 2016, 4:28 p.m., Attila Doroszlai wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/52038/
> ---
> 
> (Updated Sept. 19, 2016, 4:28 p.m.)
> 
> 
> Review request for Ambari, Balázs Bence Sári, Jayush Luniya, Oliver Szabo, 
> and Sebastian Toader.
> 
> 
> Bugs: AMBARI-18418
> https://issues.apache.org/jira/browse/AMBARI-18418
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> Replaced String.format placeholders with Log4J placeholders
> 
> 
> Diffs
> -
> 
>   
> ambari-server/src/main/java/org/apache/ambari/server/stack/StackServiceDirectory.java
>  a8b4632 
> 
> Diff: https://reviews.apache.org/r/52038/diff/
> 
> 
> Testing
> ---
> 
> * Set `log4j.rootLogger=DEBUG,file` in 
> `/etc/ambari-server/conf/log4j.properties`
>  * Start Ambari server (no cluster needed)
>  * Verify `StackServiceDirectory` messages contain service name, stack name, 
> not %s placeholders
>Example:
>  wrong: `19 Sep 2016 14:01:08,380 DEBUG [main] StackServiceDirectory:159 
> - Service package folder %s for service %s for stack %s does not exist.`
>  good: `19 Sep 2016 14:07:22,651 DEBUG [main] StackServiceDirectory:159 - 
> Service package folder 
> /var/lib/ambari-server/resources/stacks/HDP/2.4/services/ACCUMULO/package for 
> service ACCUMULO for stack HDP-2.4 does not exist.`
> 
> 
> Thanks,
> 
> Attila Doroszlai
> 
>



Re: Review Request 52038: AMBARI-18418 StackServiceDirectory debug messages are logged with placeholders

2016-09-20 Thread Jayush Luniya

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/52038/#review149742
---


Ship it!




Ship It!

- Jayush Luniya


On Sept. 19, 2016, 2:28 p.m., Attila Doroszlai wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/52038/
> ---
> 
> (Updated Sept. 19, 2016, 2:28 p.m.)
> 
> 
> Review request for Ambari, Balázs Bence Sári, Jayush Luniya, Oliver Szabo, 
> and Sebastian Toader.
> 
> 
> Bugs: AMBARI-18418
> https://issues.apache.org/jira/browse/AMBARI-18418
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> Replaced String.format placeholders with Log4J placeholders
> 
> 
> Diffs
> -
> 
>   
> ambari-server/src/main/java/org/apache/ambari/server/stack/StackServiceDirectory.java
>  a8b4632 
> 
> Diff: https://reviews.apache.org/r/52038/diff/
> 
> 
> Testing
> ---
> 
> * Set `log4j.rootLogger=DEBUG,file` in 
> `/etc/ambari-server/conf/log4j.properties`
>  * Start Ambari server (no cluster needed)
>  * Verify `StackServiceDirectory` messages contain service name, stack name, 
> not %s placeholders
>Example:
>  wrong: `19 Sep 2016 14:01:08,380 DEBUG [main] StackServiceDirectory:159 
> - Service package folder %s for service %s for stack %s does not exist.`
>  good: `19 Sep 2016 14:07:22,651 DEBUG [main] StackServiceDirectory:159 - 
> Service package folder 
> /var/lib/ambari-server/resources/stacks/HDP/2.4/services/ACCUMULO/package for 
> service ACCUMULO for stack HDP-2.4 does not exist.`
> 
> 
> Thanks,
> 
> Attila Doroszlai
> 
>



Re: Review Request 52038: AMBARI-18418 StackServiceDirectory debug messages are logged with placeholders

2016-09-20 Thread Oliver Szabo

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/52038/#review149633
---


Ship it!




Ship It!

- Oliver Szabo


On Sept. 19, 2016, 2:28 p.m., Attila Doroszlai wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/52038/
> ---
> 
> (Updated Sept. 19, 2016, 2:28 p.m.)
> 
> 
> Review request for Ambari, Balázs Bence Sári, Jayush Luniya, Oliver Szabo, 
> and Sebastian Toader.
> 
> 
> Bugs: AMBARI-18418
> https://issues.apache.org/jira/browse/AMBARI-18418
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> Replaced String.format placeholders with Log4J placeholders
> 
> 
> Diffs
> -
> 
>   
> ambari-server/src/main/java/org/apache/ambari/server/stack/StackServiceDirectory.java
>  a8b4632 
> 
> Diff: https://reviews.apache.org/r/52038/diff/
> 
> 
> Testing
> ---
> 
> * Set `log4j.rootLogger=DEBUG,file` in 
> `/etc/ambari-server/conf/log4j.properties`
>  * Start Ambari server (no cluster needed)
>  * Verify `StackServiceDirectory` messages contain service name, stack name, 
> not %s placeholders
>Example:
>  wrong: `19 Sep 2016 14:01:08,380 DEBUG [main] StackServiceDirectory:159 
> - Service package folder %s for service %s for stack %s does not exist.`
>  good: `19 Sep 2016 14:07:22,651 DEBUG [main] StackServiceDirectory:159 - 
> Service package folder 
> /var/lib/ambari-server/resources/stacks/HDP/2.4/services/ACCUMULO/package for 
> service ACCUMULO for stack HDP-2.4 does not exist.`
> 
> 
> Thanks,
> 
> Attila Doroszlai
> 
>



Re: Review Request 52038: AMBARI-18418 StackServiceDirectory debug messages are logged with placeholders

2016-09-20 Thread Balázs Bence Sári

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/52038/#review149632
---


Ship it!




Ship It!

- Balázs Bence Sári


On Sept. 19, 2016, 2:28 p.m., Attila Doroszlai wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/52038/
> ---
> 
> (Updated Sept. 19, 2016, 2:28 p.m.)
> 
> 
> Review request for Ambari, Balázs Bence Sári, Jayush Luniya, Oliver Szabo, 
> and Sebastian Toader.
> 
> 
> Bugs: AMBARI-18418
> https://issues.apache.org/jira/browse/AMBARI-18418
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> Replaced String.format placeholders with Log4J placeholders
> 
> 
> Diffs
> -
> 
>   
> ambari-server/src/main/java/org/apache/ambari/server/stack/StackServiceDirectory.java
>  a8b4632 
> 
> Diff: https://reviews.apache.org/r/52038/diff/
> 
> 
> Testing
> ---
> 
> * Set `log4j.rootLogger=DEBUG,file` in 
> `/etc/ambari-server/conf/log4j.properties`
>  * Start Ambari server (no cluster needed)
>  * Verify `StackServiceDirectory` messages contain service name, stack name, 
> not %s placeholders
>Example:
>  wrong: `19 Sep 2016 14:01:08,380 DEBUG [main] StackServiceDirectory:159 
> - Service package folder %s for service %s for stack %s does not exist.`
>  good: `19 Sep 2016 14:07:22,651 DEBUG [main] StackServiceDirectory:159 - 
> Service package folder 
> /var/lib/ambari-server/resources/stacks/HDP/2.4/services/ACCUMULO/package for 
> service ACCUMULO for stack HDP-2.4 does not exist.`
> 
> 
> Thanks,
> 
> Attila Doroszlai
> 
>