[GitHub] [incubator-heron] dttlgotv opened a new issue #3489: can not submit standalone topology

2020-03-12 Thread GitBox
dttlgotv opened a new issue #3489: can not submit standalone topology
URL: https://github.com/apache/incubator-heron/issues/3489
 
 
   After I start standalone cluster well, I just submit a example topology, but 
error is below:
   
   
   heron submit standalone heron-streamlet-examples.jar 
org.apache.heron.examples.streamlet.WindowedWordCountTopology 
WindowedWordCountTopology
   [2020-03-12 14:24:15 +0800] [INFO]: Using cluster definition in 
/Users/zz/.heron/conf/standalone
   三月 12, 2020 2:24:16 下午 org.apache.heron.streamlet.impl.StreamletBaseImpl 
defaultNameCalculator
   信息: Calculated stage Name as consumer1
   [2020-03-12 14:24:16 +0800] [INFO]: Launching topology: 
'WindowedWordCountTopology'
   SLF4J: Class path contains multiple SLF4J bindings.
   SLF4J: Found binding in 
[jar:file:/Users/zz/.heron/lib/uploader/heron-dlog-uploader.jar!/org/slf4j/impl/StaticLoggerBinder.class]
   SLF4J: Found binding in 
[jar:file:/Users/zz/.heron/lib/statemgr/heron-zookeeper-statemgr.jar!/org/slf4j/impl/StaticLoggerBinder.class]
   SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
explanation.
   SLF4J: Actual binding is of type [org.slf4j.impl.JDK14LoggerFactory]
   [2020-03-12 14:24:17 +0800] [信息] 
org.apache.heron.statemgr.zookeeper.curator.CuratorStateManager: Starting 
Curator client connecting to: 127.0.0.1:2181  
   [2020-03-12 14:24:17 +0800] [信息] 
org.apache.curator.framework.imps.CuratorFrameworkImpl: Starting  
   [2020-03-12 14:24:17 +0800] [信息] 
org.apache.curator.framework.state.ConnectionStateManager: State change: 
CONNECTED  
   [2020-03-12 14:24:17 +0800] [信息] 
org.apache.heron.statemgr.zookeeper.curator.CuratorStateManager: Directory tree 
initialized.  
   [2020-03-12 14:24:17 +0800] [信息] 
org.apache.heron.statemgr.zookeeper.curator.CuratorStateManager: Checking 
existence of path: /heron/topologies/WindowedWordCountTopology  
   [2020-03-12 14:24:17 +0800] [信息] 
org.apache.heron.packing.roundrobin.RoundRobinPacking: Initalizing 
RoundRobinPacking. CPU default: 1.00, RAM default: ByteAmount{1.0 GB 
(1073741824 bytes)}, DISK default: ByteAmount{1.0 GB (1073741824 bytes)}, RAM 
padding: ByteAmount{2.0 GB (2147483648 bytes)}.  
   [2020-03-12 14:24:17 +0800] [信息] 
org.apache.heron.packing.roundrobin.RoundRobinPacking: Pack internal: container 
CPU hint: -1.000, RAM hint: ByteAmount{-1 bytes}, disk hint: ByteAmount{-1 
bytes}.  
   [2020-03-12 14:24:17 +0800] [信息] 
org.apache.heron.packing.roundrobin.RoundRobinPacking: Pack internal finalized: 
container#1 CPU: 3.00, RAM: ByteAmount{4.0 GB (4294967296 bytes)}, disk: 
ByteAmount{14.0 GB (15032385536 bytes)}.  
   [2020-03-12 14:24:17 +0800] [信息] 
org.apache.heron.packing.roundrobin.RoundRobinPacking: Pack internal finalized: 
container#2 CPU: 3.00, RAM: ByteAmount{4.0 GB (4294967296 bytes)}, disk: 
ByteAmount{14.0 GB (15032385536 bytes)}.  
   [2020-03-12 14:24:18 +0800] [严重] 
org.apache.heron.uploader.http.HttpUploader: Error uploading package to 
location: 
/var/folders/zr/dgwn7zgn3fbcjmv25t_ybsc8gp/T/tmpwXznPX/topology.tar.gz 
   java.net.SocketException: Broken pipe (Write failed)
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
at 
org.apache.http.impl.io.SessionOutputBufferImpl.streamWrite(SessionOutputBufferImpl.java:124)
at 
org.apache.http.impl.io.SessionOutputBufferImpl.flushBuffer(SessionOutputBufferImpl.java:136)
at 
org.apache.http.impl.io.SessionOutputBufferImpl.write(SessionOutputBufferImpl.java:167)
at 
org.apache.http.impl.io.ContentLengthOutputStream.write(ContentLengthOutputStream.java:113)
at 
org.apache.http.entity.mime.content.FileBody.writeTo(FileBody.java:121)
at 
org.apache.http.entity.mime.AbstractMultipartForm.doWriteTo(AbstractMultipartForm.java:134)
at 
org.apache.http.entity.mime.AbstractMultipartForm.writeTo(AbstractMultipartForm.java:157)
at 
org.apache.http.entity.mime.MultipartFormEntity.writeTo(MultipartFormEntity.java:107)
at 
org.apache.http.impl.DefaultBHttpClientConnection.sendRequestEntity(DefaultBHttpClientConnection.java:156)
at 
org.apache.http.impl.conn.CPoolProxy.sendRequestEntity(CPoolProxy.java:162)
at 
org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:238)
at 
org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
at 
org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)
at 
org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
at 
org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at 

[GitHub] [incubator-heron] dttlgotv opened a new issue #3488: can not stop standalone cluster

2020-03-12 Thread GitBox
dttlgotv opened a new issue #3488: can not stop standalone cluster 
URL: https://github.com/apache/incubator-heron/issues/3488
 
 
   I can start standalone cluster well, but when I stop it, the error is below: 
   
   heron-admin standalone cluster stop
   Are you sure you want to stop the cluster? This will terminate everything 
running in the cluster and remove any scheduler state. (yes/no): yes
   Traceback (most recent call last):
 File ".bootstrap/_pex/pex.py", line 365, in execute
 File ".bootstrap/_pex/pex.py", line 293, in _wrap_coverage
 File ".bootstrap/_pex/pex.py", line 325, in _wrap_profiling
 File ".bootstrap/_pex/pex.py", line 408, in _execute
 File ".bootstrap/_pex/pex.py", line 466, in execute_entry
 File ".bootstrap/_pex/pex.py", line 471, in execute_module
 File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py",
 line 180, in run_module
   fname, loader, pkg_name)
 File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py",
 line 72, in _run_code
   exec code in run_globals
 File "heron/tools/admin/src/python/main.py", line 182, in 
   sys.exit(main())
 File "heron/tools/admin/src/python/main.py", line 178, in main
   return execute(command_handlers)
 File "heron/tools/admin/src/python/main.py", line 170, in execute
   results = run(handlers, command, parser, command_line_args, unknown_args)
 File "heron/tools/admin/src/python/main.py", line 102, in run
   return handlers[command].run(command, parser, command_args, unknown_args)
 File "heron/tools/admin/src/python/standalone.py", line 177, in run
   if check_sure(cl_args, "Are you sure you want to stop the cluster?"
 File "heron/tools/admin/src/python/standalone.py", line 862, in check_sure
   yes = input("%s" % prompt + ' (yes/no): ')
 File "", line 1, in 
   NameError: name 'yes' is not defined
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services