ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivér Szabó (JIRA) <j...@apache.org>
Subject [jira] [Updated] (AMBARI-19340) Infra Solr Client logging is not working
Date Tue, 03 Jan 2017 17:19:58 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-19340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Olivér Szabó updated AMBARI-19340:
----------------------------------
    Attachment: AMBARI-19340.patch

> 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