ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xianghao Lu (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (AMBARI-22689) Restart agent command sent by server
Date Sat, 23 Dec 2017 00:38:00 GMT

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

Xianghao Lu edited comment on AMBARI-22689 at 12/23/17 12:37 AM:
-----------------------------------------------------------------

[~adoroszlai] The compilation errors are as follows, it seems the errors have nothing to do
with my patch which is just about ambari-agent. Any ideas?

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
(default-compile) on project {color:red}ambari-infra-manager{color}: Compilation failure:
Compilation failure: 
[ERROR] /home/jenkins/jenkins-slave/workspace/Ambari-trunk-test-patch/ambari/ambari-infra/ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/archive/{color:red}DocumentSource.java{color}:[23,8]
class ItemWriterListener is public, should be declared in a file named ItemWriterListener.java
[ERROR] /home/jenkins/jenkins-slave/workspace/Ambari-trunk-test-patch/ambari/ambari-infra/ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/archive{color:red}/DocumentIterator.java{color}:[23,8]
class CloseableIterator is public, should be declared in a file named CloseableIterator.java
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following
articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :ambari-infra-manager


was (Author: luxianghao):
[~adoroszlai] The compilation erros are as follows, it seems the errors have nothing to do
with my patch which is just about ambari-agent. Any ideas?

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
(default-compile) on project {color:red}ambari-infra-manager{color}: Compilation failure:
Compilation failure: 
[ERROR] /home/jenkins/jenkins-slave/workspace/Ambari-trunk-test-patch/ambari/ambari-infra/ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/archive/{color:red}DocumentSource.java{color}:[23,8]
class ItemWriterListener is public, should be declared in a file named ItemWriterListener.java
[ERROR] /home/jenkins/jenkins-slave/workspace/Ambari-trunk-test-patch/ambari/ambari-infra/ambari-infra-manager/src/main/java/org/apache/ambari/infra/job/archive{color:red}/DocumentIterator.java{color}:[23,8]
class CloseableIterator is public, should be declared in a file named CloseableIterator.java
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following
articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :ambari-infra-manager

> Restart agent command sent by server
> ------------------------------------
>
>                 Key: AMBARI-22689
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22689
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent
>    Affects Versions: trunk
>            Reporter: Xianghao Lu
>              Labels: patch
>         Attachments: AMBARI-22689.patch
>
>
> When ambari agent get a heartbeat response from ambari server, agent will convert the
string data to JSON object, and, response['restartAgent'] will be a bool value not string.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message