dttlgotv commented on issue #3489: can not submit standalone topology
URL:
https://github.com/apache/incubator-heron/issues/3489#issuecomment-599496556
> @dttlgotv
>
> ```
> org.apache.heron.uploader.http.HttpUploader: Error uploading package to
location:
/var/folders/zr/dgwn7zgn3fbcjmv25t_ybsc8gp/T/tmpwXznPX/topology.tar.gz
> ```
>
> HttpUploader Only http://..
> It must be a URL.
Anyway I change to use local file to update, but it can not run well too. It
seems that Prometheus metrics must be used in this mode though I have delete
it in metrics_sinks.yaml.
heron submit standalone heron-streamlet-examples.jar
org.apache.heron.examples.streamlet.FormattedOutputTopology
FormattedOutputTopology
[2020-03-16 19:41:17 +0800] [INFO]: Using cluster definition in
/Users/guoxinghua/.heron/conf/standalone
三月 16, 2020 7:41:17 下午 org.apache.heron.streamlet.impl.StreamletBaseImpl
defaultNameCalculator
信息: Calculated stage Name as supplier1
三月 16, 2020 7:41:18 下午 org.apache.heron.streamlet.impl.StreamletBaseImpl
defaultNameCalculator
信息: Calculated stage Name as filter1
三月 16, 2020 7:41:18 下午 org.apache.heron.streamlet.impl.StreamletBaseImpl
defaultNameCalculator
信息: Calculated stage Name as consumer1
[2020-03-16 19:41:18 +0800] [INFO]: Launching topology:
'FormattedOutputTopology'
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/Users/guoxinghua/.heron/lib/uploader/heron-dlog-uploader.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/Users/guoxinghua/.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-16 19:41:19 +0800] [信息]
org.apache.heron.statemgr.zookeeper.curator.CuratorStateManager: Starting
Curator client connecting to: 127.0.0.1:2181
[2020-03-16 19:41:19 +0800] [信息]
org.apache.curator.framework.imps.CuratorFrameworkImpl: Starting
[2020-03-16 19:41:19 +0800] [信息]
org.apache.curator.framework.state.ConnectionStateManager: State change:
CONNECTED
[2020-03-16 19:41:19 +0800] [信息]
org.apache.heron.statemgr.zookeeper.curator.CuratorStateManager: Directory tree
initialized.
[2020-03-16 19:41:19 +0800] [信息]
org.apache.heron.statemgr.zookeeper.curator.CuratorStateManager: Checking
existence of path: /heron/topologies/FormattedOutputTopology
[2020-03-16 19:41:19 +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-16 19:41:19 +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-16 19:41:19 +0800] [信息]
org.apache.heron.packing.roundrobin.RoundRobinPacking: Pack internal finalized:
container#1 CPU: 4.00, RAM: ByteAmount{5.0 GB (5368709120 bytes)}, disk:
ByteAmount{15.0 GB (16106127360 bytes)}.
[2020-03-16 19:41:19 +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-16 19:41:19 +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-16 19:41:19 +0800] [信息]
org.apache.heron.packing.roundrobin.RoundRobinPacking: Pack internal finalized:
container#1 CPU: 4.00, RAM: ByteAmount{5.0 GB (5368709120 bytes)}, disk:
ByteAmount{15.0 GB (16106127360 bytes)}.
[2020-03-16 19:41:19 +0800] [信息]
org.apache.heron.statemgr.zookeeper.curator.CuratorStateManager: Created node
for path: /heron/topologies/FormattedOutputTopology
[2020-03-16 19:41:19 +0800] [信息]
org.apache.heron.statemgr.zookeeper.curator.CuratorStateManager: Created node
for path: /heron/packingplans/FormattedOutputTopology
[2020-03-16 19:41:19 +0800] [信息]
org.apache.heron.statemgr.zookeeper.curator.CuratorStateManager: Created node
for path: /heron/executionstate/FormattedOutputTopology
[2020-03-16 19:41:19 +0800] [警告]
org.apache.heron.common.config.ConfigReader: Config file name cannot be null
[2020-03-16 19:41:20 +0800] [信息]
org.apache.heron.scheduler.utils.SchedulerUtils: Updating scheduled-resource in
packing plan: FormattedOutputTopology
[2020-03-16 19:41:20 +0800] [信息]
org.apache.heron.statemgr.zookeeper.curator.CuratorStateManager: Deleted