[
https://issues.apache.org/jira/browse/GEARPUMP-368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16457202#comment-16457202
]
ASF GitHub Bot commented on GEARPUMP-368:
-----------------------------------------
Github user manuzhang commented on a diff in the pull request:
https://github.com/apache/incubator-gearpump/pull/241#discussion_r184826402
--- Diff:
core/src/main/scala/org/apache/gearpump/util/MasterClientCommand.scala ---
@@ -0,0 +1,43 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.gearpump.util
+
+import org.apache.gearpump.cluster.client.{RemoteRuntimeEnvironment,
RuntimeEnvironment}
+import org.apache.gearpump.util.LogUtil.ProcessType
+
+import scala.util.Try
+
+trait MasterClientCommand extends AkkaApp {
+
+ override def main(args: Array[String]): Unit = {
+ // scalastyle:off
+ println("-----Setting the runtime env")
--- End diff --
Please remove these test messages when you're done
> Application details page does not load
> --------------------------------------
>
> Key: GEARPUMP-368
> URL: https://issues.apache.org/jira/browse/GEARPUMP-368
> Project: Apache Gearpump
> Issue Type: Bug
> Components: services
> Affects Versions: 0.8.5
> Reporter: Hashan Gayasri Udugahapattuwa
> Assignee: Karol Brejna
> Priority: Major
> Attachments: gearpump-master-47505.log, gearpump-ui-47572.log,
> gearpump-worker-47538.log, logs.zip
>
>
> Application details page does not load in the
> 0.8.5-SNAPSHOT(8aac07b86d4b90e4f5118f3204610d3510f93b02). This is recreatable
> with the default examples.
> This issue not present in the 0.8.4 release.
>
> Request : [http://172.25.34.11:8090/api/v1.0/appmaster/1?detail=true]
> Status Code : 500 Internal Server Error
>
> Response :
> akka.pattern.AskTimeoutException: Ask timed out on
> [Actor[akka.tcp://[email protected]:33881/user/daemon/appdaemon1/$c#1247996686]]
> after [15000 ms]. Sender[null] sent message of type
> "org.apache.gearpump.cluster.MasterToAppMaster$AppMasterDataDetailRequest".
> at akka.pattern.PromiseActorRef$$anonfun$1.apply$mcV$sp(AskSupport.scala:604)
> at akka.actor.Scheduler$$anon$4.run(Scheduler.scala:126)
> at
> scala.concurrent.Future$InternalCallbackExecutor$.unbatchedExecute(Future.scala:601)
> at
> scala.concurrent.BatchingExecutor$class.execute(BatchingExecutor.scala:109)
> at
> scala.concurrent.Future$InternalCallbackExecutor$.execute(Future.scala:599)
> at
> akka.actor.LightArrayRevolverScheduler$TaskHolder.executeTask(LightArrayRevolverScheduler.scala:329)
> at
> akka.actor.LightArrayRevolverScheduler$$anon$4.executeBucket$1(LightArrayRevolverScheduler.scala:280)
> at
> akka.actor.LightArrayRevolverScheduler$$anon$4.nextTick(LightArrayRevolverScheduler.scala:284)
> at
> akka.actor.LightArrayRevolverScheduler$$anon$4.run(LightArrayRevolverScheduler.scala:236)
> at java.lang.Thread.run(Unknown Source)
>
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)