You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by Douglas Service <ds...@gmail.com> on 2017/02/21 01:45:18 UTC
REEF C# examples
I am using the Org.Apache.REEF.Examples.HelloREEF example for splitting the
bridge (REEF-335). Is there any documentation on running the C# examples
like there is for the Java examples on the wiki? I just tried running it
from the bin directory and I got a number of errors as shown in the output
below though both the bridge and the evaluator ran. The output says ERROR:
INFO: so maybe these are info log statements masquerading as errors? If
there is no documentation, I will be happy to add some to the wiki, I just
need to know the correct set of steps.
Org.Apache.REEF.Client.Common.DriverFolderPreparationHelper Information: 0
: 2017-02-20T17:32:48.6573420-08:00 0001
INFO: Done preparing Driver filesystem layout in
C:\Users\dougse\AppData\Local\Temp\2\reef-HelloREEF-20170220173248371\driver
Org.Apache.REEF.Client.Common.JavaClientLauncher Information: 0 :
2017-02-20T17:32:48.8033823-08:00 0001
INFO: Launch Java with command: C:\Program
Files\Java\jdk1.8.0_121\bin\java.exe -cp
./reef-bridge-client-0.16.0-SNAPSHOT-shaded.jar
org.apache.reef.bridge.client.LocalClient
C:\Users\dougse\AppData\Local\Temp\2\reef-Hel
loREEF-20170220173248371\driver\job-submission-params.json
C:\Users\dougse\AppData\Local\Temp\2\reef-HelloREEF-20170220173248371\driver\app-submission-params.json
Org.Apache.REEF.Client.Common.JavaClientLauncher Error: 0 :
2017-02-20T17:32:49.2043570-08:00 0005
ERROR: Feb 20, 2017 5:32:49 PM org.apache.reef.bridge.client.LocalClient
main
Org.Apache.REEF.Client.Common.JavaClientLauncher Error: 0 :
2017-02-20T17:32:49.2053765-08:00 0005
ERROR: INFO: Local job submission received from C#:
LocalSubmissionFromCS{driverFolder=C:\Users\dougse\AppData\Local\Temp\2\reef-HelloREEF-20170220173248371\driver,
jobFolder=C:\Users\dougse\AppData\Local\Temp\2\reef-He
lloREEF-20170220173248371,
runtimeRootFolder=C:\Users\dougse\AppData\Local\Temp\2, jobId='HelloREEF',
maxNumberOfConcurrentEvaluators=2, tcpBeginPort=8900, tcpRangeCount=1000,
tcpTryCount=1000}
Org.Apache.REEF.Client.Common.JavaClientLauncher Error: 0 :
2017-02-20T17:32:49.3483825-08:00 0007
ERROR: Feb 20, 2017 5:32:49 PM
org.apache.reef.io.TcpPortConfigurationProvider <init>
Org.Apache.REEF.Client.Common.JavaClientLauncher Error: 0 :
2017-02-20T17:32:49.3483825-08:00 0007
ERROR: INFO: Instantiating
TcpPortConfigurationProvider{portRangeBegin=8900, portRangeCount=1000,
portRangeTryCount=1000}
Org.Apache.REEF.Client.Local.LocalClient Information: 0 :
2017-02-20T17:33:03.4964279-08:00 0001
INFO: Submitted the Driver for execution.
Re: REEF C# examples
Posted by Markus Weimer <ma...@weimo.de>.
On 2017-02-21 4:07 PM, Julia Wang (QIUHE) wrote:
> Anyone knows where is it controlled? The code still shows correct
> log level. But console log shows "ERROR:" instead of "INFO:".
I would guess it is captured in the Bridge? It launches the JVM, after all.
Markus
RE: REEF C# examples
Posted by "Julia Wang (QIUHE)" <Qi...@microsoft.com.INVALID>.
Anyone knows where is it controlled? The code still shows correct log level. But console log shows "ERROR:" instead of "INFO:".
-----Original Message-----
From: Byung-Gon Chun [mailto:bgchun@gmail.com]
Sent: Tuesday, February 21, 2017 3:27 PM
To: dev@reef.apache.org
Subject: Re: REEF C# examples
+1
On Wed, Feb 22, 2017 at 8:24 AM, Markus Weimer <ma...@weimo.de> wrote:
> On 2017-02-21 10:30 AM, Julia Wang (QIUHE) wrote:
>
>> "ERROR: " means the log is logged from Java side. If you don't see
>> any exception trace, they are not real errors.
>>
>
> Maybe we should change that prefix to something less terrifying? E.g.
> `STDERR(JAVA):`?
>
> Markus
>
--
Byung-Gon Chun
Re: REEF C# examples
Posted by Byung-Gon Chun <bg...@gmail.com>.
+1
On Wed, Feb 22, 2017 at 8:24 AM, Markus Weimer <ma...@weimo.de> wrote:
> On 2017-02-21 10:30 AM, Julia Wang (QIUHE) wrote:
>
>> "ERROR: " means the log is logged from Java side. If you don't see
>> any exception trace, they are not real errors.
>>
>
> Maybe we should change that prefix to something less terrifying? E.g.
> `STDERR(JAVA):`?
>
> Markus
>
--
Byung-Gon Chun
Re: REEF C# examples
Posted by Markus Weimer <ma...@weimo.de>.
On 2017-02-21 10:30 AM, Julia Wang (QIUHE) wrote:
> "ERROR: " means the log is logged from Java side. If you don't see
> any exception trace, they are not real errors.
Maybe we should change that prefix to something less terrifying? E.g.
`STDERR(JAVA):`?
Markus
RE: REEF C# examples
Posted by "Julia Wang (QIUHE)" <Qi...@microsoft.com.INVALID>.
"ERROR: " means the log is logged from Java side. If you don't see any exception trace, they are not real errors.
-----Original Message-----
From: Douglas Service [mailto:dsopsrc@gmail.com]
Sent: Monday, February 20, 2017 5:45 PM
To: dev@reef.apache.org
Subject: REEF C# examples
I am using the Org.Apache.REEF.Examples.HelloREEF example for splitting the bridge (REEF-335). Is there any documentation on running the C# examples like there is for the Java examples on the wiki? I just tried running it from the bin directory and I got a number of errors as shown in the output below though both the bridge and the evaluator ran. The output says ERROR:
INFO: so maybe these are info log statements masquerading as errors? If there is no documentation, I will be happy to add some to the wiki, I just need to know the correct set of steps.
Org.Apache.REEF.Client.Common.DriverFolderPreparationHelper Information: 0
: 2017-02-20T17:32:48.6573420-08:00 0001
INFO: Done preparing Driver filesystem layout in C:\Users\dougse\AppData\Local\Temp\2\reef-HelloREEF-20170220173248371\driver
Org.Apache.REEF.Client.Common.JavaClientLauncher Information: 0 :
2017-02-20T17:32:48.8033823-08:00 0001
INFO: Launch Java with command: C:\Program Files\Java\jdk1.8.0_121\bin\java.exe -cp ./reef-bridge-client-0.16.0-SNAPSHOT-shaded.jar
org.apache.reef.bridge.client.LocalClient
C:\Users\dougse\AppData\Local\Temp\2\reef-Hel
loREEF-20170220173248371\driver\job-submission-params.json
C:\Users\dougse\AppData\Local\Temp\2\reef-HelloREEF-20170220173248371\driver\app-submission-params.json
Org.Apache.REEF.Client.Common.JavaClientLauncher Error: 0 :
2017-02-20T17:32:49.2043570-08:00 0005
ERROR: Feb 20, 2017 5:32:49 PM org.apache.reef.bridge.client.LocalClient
main
Org.Apache.REEF.Client.Common.JavaClientLauncher Error: 0 :
2017-02-20T17:32:49.2053765-08:00 0005
ERROR: INFO: Local job submission received from C#:
LocalSubmissionFromCS{driverFolder=C:\Users\dougse\AppData\Local\Temp\2\reef-HelloREEF-20170220173248371\driver,
jobFolder=C:\Users\dougse\AppData\Local\Temp\2\reef-He
lloREEF-20170220173248371,
runtimeRootFolder=C:\Users\dougse\AppData\Local\Temp\2, jobId='HelloREEF', maxNumberOfConcurrentEvaluators=2, tcpBeginPort=8900, tcpRangeCount=1000, tcpTryCount=1000} Org.Apache.REEF.Client.Common.JavaClientLauncher Error: 0 :
2017-02-20T17:32:49.3483825-08:00 0007
ERROR: Feb 20, 2017 5:32:49 PM
org.apache.reef.io.TcpPortConfigurationProvider <init> Org.Apache.REEF.Client.Common.JavaClientLauncher Error: 0 :
2017-02-20T17:32:49.3483825-08:00 0007
ERROR: INFO: Instantiating
TcpPortConfigurationProvider{portRangeBegin=8900, portRangeCount=1000, portRangeTryCount=1000} Org.Apache.REEF.Client.Local.LocalClient Information: 0 :
2017-02-20T17:33:03.4964279-08:00 0001
INFO: Submitted the Driver for execution.