ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-19340) Infra Solr Client logging is not working
Date Wed, 04 Jan 2017 12:24:58 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-19340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15798114#comment-15798114
] 

Hudson commented on AMBARI-19340:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #631 (See [https://builds.apache.org/job/Ambari-branch-2.5/631/])
AMBARI-19340. Infra Solr Client logging is not working (oleewere) (oleewere: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=c7c207d9764d1b501c111ec166592835b70c45bb])
* (edit) ambari-server/src/main/resources/common-services/AMBARI_INFRA/0.1.0/properties/solr-client-log4j.properties.j2
* (edit) ambari-common/src/main/python/resource_management/libraries/functions/solr_cloud_util.py
* (edit) ambari-server/src/main/resources/common-services/AMBARI_INFRA/0.1.0/package/scripts/setup_infra_solr.py
* (edit) ambari-server/src/main/resources/common-services/AMBARI_INFRA/0.1.0/package/scripts/params.py


> Infra Solr Client logging is not working
> ----------------------------------------
>
>                 Key: AMBARI-19340
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19340
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.5.0
>            Reporter: Olivér Szabó
>            Assignee: Olivér Szabó
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-19340.patch
>
>
> If we run any command for infra-solr-client, we got the following output:
> {code:java}
> log4j:WARN Failed to set property [maxBackupIndex] to value "". 
> log4j:ERROR [] is not in proper int form.
> log4j:ERROR [MB] not in expected format.
> java.lang.NumberFormatException: For input string: ""
>         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
>         at java.lang.Long.parseLong(Long.java:601)
>         at java.lang.Long.valueOf(Long.java:803)
>         at org.apache.log4j.helpers.OptionConverter.toFileSize(OptionConverter.java:280)
>         at org.apache.log4j.RollingFileAppender.setMaxFileSize(RollingFileAppender.java:260)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at org.apache.log4j.config.PropertySetter.setProperty(PropertySetter.java:245)
>         at org.apache.log4j.config.PropertySetter.setProperty(PropertySetter.java:204)
>         at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:169)
>         at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)
>         at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:842)
>         at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768)
>         at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:648)
>         at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:514)
>         at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580)
>         at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526)
>         at org.apache.log4j.LogManager.<clinit>(LogManager.java:127)
>         at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:64)
>         at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:270)
>         at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:281)
>         at org.apache.ambari.logsearch.solr.AmbariSolrCloudCLI.<clinit>(AmbariSolrCloudCLI.java:38)
> {code}
> therefore logging is not working for infra-solr-client.
> This is regression for AMBARI-19323



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message