[
https://issues.apache.org/jira/browse/STORM-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15024745#comment-15024745
]
ASF GitHub Bot commented on STORM-1189:
---------------------------------------
Github user spicoflorin commented on the pull request:
https://github.com/apache/storm/pull/868#issuecomment-159317100
Hello!
I have downloaded the version 0.10.0 and applied the patch from
https://patch-diff.githubusercontent.com/raw/apache/storm/pull/868.patch, but I
got compilation errors. I would like to use the 0.10.0 storm version. Can you
please test again? Or what code version should I use : the one from tags
(0.10.0) or the one from the branch 0.10.x master?
ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on
project storm-core: Compilation failure: Compilation failure:
ERROR]
/d:/Temp/stom-10/storm-0.10.0/storm-core/src/jvm/backtype/storm/generated/ClusterSummary.java:[321,5]
duplicate case label
ERROR]
/d:/Temp/stom-10/storm-0.10.0/storm-core/src/jvm/backtype/storm/generated/ClusterSummary.java:[403,13]
variable this_present_nimbus_uptime_secs is already defined in method
equals(backtype.storm.generated.ClusterSummary)
ERROR]
/d:/Temp/stom-10/storm-0.10.0/storm-core/src/jvm/backtype/storm/generated/ClusterSummary.java:[404,13]
variable that_present_nimbus_uptime_secs is already defined in method
equals(backtype.storm.generated.ClusterSummary)
ERROR]
/d:/Temp/stom-10/storm-0.10.0/storm-core/src/jvm/backtype/storm/generated/ClusterSummary.java:[617,11]
duplicate case label
ERROR] -> [Help 1]
> client.getClusterInfo() fails with Required field 'nimbus_uptime_secs' is
> unset!
> --------------------------------------------------------------------------------
>
> Key: STORM-1189
> URL: https://issues.apache.org/jira/browse/STORM-1189
> Project: Apache Storm
> Issue Type: Bug
> Components: storm-core
> Affects Versions: 0.10.0
> Environment: CentOS 7, Hortonworks 2.3, Java API
> Reporter: Michael Sonst
> Assignee: Robert Joseph Evans
> Fix For: 0.11.0
>
>
> Hi,
> we are about to upgrade our cluster from 0.9.1-incubating to 0.10.0. I'm
> currently testing whether the functionality is still working with 0.10.0 in
> VMs.
> On 0.10.0 the following throws the exception mentioned below:
> ...
> NimbusClient nimbusClient = NimbusClient.getConfiguredClient(readConfig);
> Client client = nimbusClient.getClient();
> ClusterSummary clusterInfo = client.getClusterInfo();
> Exception:
> org.apache.thrift7.protocol.TProtocolException: Required field
> 'nimbus_uptime_secs' is unset!
> Struct:ClusterSummary(supervisors:[SupervisorSummary(host:n3.t3k.siemens.com,
> uptime_secs:24297, num_workers:4, num_used_workers:0,
> supervisor_id:4a87f03b-ea91-4b12-8cb9-9f7e26703b26,
> version:0.10.0.2.3.0.0-2557)], nimbus_uptime_secs:0, topologies:[])
> at
> backtype.storm.generated.ClusterSummary.validate(ClusterSummary.java:515)
> at
> backtype.storm.generated.ClusterSummary$ClusterSummaryStandardScheme.read(ClusterSummary.java:613)
> at
> backtype.storm.generated.ClusterSummary$ClusterSummaryStandardScheme.read(ClusterSummary.java:549)
> at backtype.storm.generated.ClusterSummary.read(ClusterSummary.java:473)
> at
> backtype.storm.generated.Nimbus$getClusterInfo_result$getClusterInfo_resultStandardScheme.read(Nimbus.java:16546)
> at
> backtype.storm.generated.Nimbus$getClusterInfo_result$getClusterInfo_resultStandardScheme.read(Nimbus.java:16531)
> at
> backtype.storm.generated.Nimbus$getClusterInfo_result.read(Nimbus.java:16470)
> at org.apache.thrift7.TServiceClient.receiveBase(TServiceClient.java:78)
> at
> backtype.storm.generated.Nimbus$Client.recv_getClusterInfo(Nimbus.java:569)
> at
> backtype.storm.generated.Nimbus$Client.getClusterInfo(Nimbus.java:557)
> Switching back to 0.9.1-incubating showed, that the code still works fine
> there.
> BR Michael
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)