expected '', but found BlockMappingStart in 'reader', line 13, column 1:nimbus.host:
具體錯誤資訊如下:
/bin/java
Exception in thread "main" java.lang.ExceptionInInitializerError
at backtype.storm.command.config_value.main(config_value.java:40)
Caused by: expected '<document start>', but found BlockMappingStart
in 'reader', line 13, column 1:
nimbus.host: "10.10.10.10"
^
at shade.storm.org.yaml.snakeyaml.parser.ParserImpl$ParseDocumentStart.produce(ParserImpl.java:225)
at shade.storm.org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158)
at shade.storm.org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143)
at shade.storm.org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:108)
at shade.storm.org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120)
at shade.storm.org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:481)
at shade.storm.org.yaml.snakeyaml.Yaml.load(Yaml.java:424)
at com.alibaba.jstorm.utils.LoadConf.findAndReadYaml(LoadConf.java:58)
at backtype.storm.utils.Utils.readStormConfig(Utils.java:457)
at backtype.storm.utils.Utils.<clinit>(Utils.java:112)
... 1 more
Failed to get config java.library.path
None
16:51:02,904 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
16:51:02,904 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
16:51:02,905 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/usr/local/jstorm-2.2.1/conf/logback.xml]
16:51:03,050 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
16:51:03,112 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
16:51:03,129 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [console]
16:51:03,179 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
16:51:03,304 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
16:51:03,309 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [file]
16:51:03,319 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@13:19 - no applicable action for [Encoding], current ElementPath is [[configuration][appender][Encoding]]
16:51:03,368 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - No compression will be used
16:51:03,371 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use the pattern /home/kafka-jstorm-logs/kafka-jstorm-%d{yyyy-MM-dd}.log for the active file
16:51:03,377 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@7006c658 - The date pattern is 'yyyy-MM-dd' from file name pattern '/home/kafka-jstorm-logs/kafka-jstorm-%d{yyyy-MM-dd}.log'.
16:51:03,377 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@7006c658 - Roll-over at midnight.
16:51:03,384 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@7006c658 - Setting initial period to Thu Apr 27 15:50:57 CST 2017
16:51:03,399 |-WARN in ch.qos.logback.core.rolling.RollingFileAppender[file] - This appender no longer admits a layout as a sub-component, set an encoder instead.
16:51:03,399 |-WARN in ch.qos.logback.core.rolling.RollingFileAppender[file] - To ensure compatibility, wrapping your layout in LayoutWrappingEncoder.
16:51:03,399 |-WARN in ch.qos.logback.core.rolling.RollingFileAppender[file] - See also http://logback.qos.ch/codes.html#layoutInsteadOfEncoder for details
16:51:03,402 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[file] - Active log file name: /home/kafka-jstorm-logs/kafka-jstorm.log
16:51:03,402 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[file] - File property is set to [/home/kafka-jstorm-logs/kafka-jstorm.log]
16:51:03,404 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - ROOT level set to ERROR
16:51:03,404 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - ROOT level set to WARN
16:51:03,404 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [file] to Logger[ROOT]
16:51:03,405 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [console] to Logger[ROOT]
16:51:03,405 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
16:51:03,407 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@34033bd0 - Registering current configuration as safe fallback point
cannot concatenate 'str' and 'NoneType' objects
Syntax: [jstorm jar topology-jar-path class ...]
Runs the main method of class with the specified arguments.
The jstorm jars and configs in $JSTORM_CONF_DIR/storm.yaml are put on the classpath.
The process is configured so that StormSubmitter
(https://github.com/alibaba/jstorm/wiki/JStorm-Chinese-Documentation)
will upload the jar at topology-jar-path when the topology is submitted.
http://www.cnblogs.com/blackze/p/5906476.html
解決方案:
檢視報警資訊標識是在nimbus的n上,經試驗原來是這幾個配置名稱前需要加空格。即:
空格nimbus.host: "10.10.10.10"
空格storm.zookeeper.port: 2181
空格storm.local.dir: "date/storm-2.2.1/data"
空格supervisor.slots.ports:
大家配置storm.yaml時一定要注意了。
本文參考:http://www.cnblogs.com/blackze/p/5906476.html
作者:jiankunking 出處:http://blog.csdn.net/jiankunking
相關文章
- CDH5之Found class jline.Terminal, but interface was expectedH5
- Go 執行 程式 test.go:1:1: expected ‘package‘, found ‘EOF‘GoPackage
- golang expected declaration, found 'IDENT'GolangIDE
- 每日充電:踩坑expected ‘package‘, found ‘import‘PackageImport
- 解決一個小坑:error on line 1 at column 1: Document is emptyError
- Android:Unexpected lock protocol found in lock file. Expected 3, found 0.AndroidProtocol
- The Last Reader Response——13-17AST
- WebService異常Unexpected wrapper element ... found. Expected ...WebAPP
- python json讀取資料:ValueError: Extra data: line 77 column 2 - line 16485 column 1 (char 1159 - 227243)PythonJSONError
- PyTorch出現錯誤“RuntimeError: Found dtype Double but expected Float”PyTorchError
- Newline required at end of file but not foundUI
- 開發:異常收集之 expected single matching bean but found 2Bean
- flutter佈局-1-columnFlutter
- sql列別名引發ORA-00923: FROM keyword not found where expectedSQL
- /bin/sh: 1: pahole: not found
- 【問題解決】remote: parse error: Invalid numeric literal at line 1, column 20,解決思路REMError
- [CareerCup] 8.5 Online Book Reader System 線上讀書系統
- python匯入資料錯誤:ParserError: Error tokenizing data. C error: Expected 1 fields in line 3, saw 2PythonError
- Eclipse中解決Multiple annotations found at this line錯誤。Eclipse
- ibatis resultMap引數填充異常:java.sql.SQLException: Column 'XXX' not found.BATJavaSQLException
- count(0),count(1),count(*)總結與count(column)
- No qualifying bean of type 'javax.sql.DataSource' available: expected at least 1BeanJavaSQLAIAST
- 13 hashlib案例1
- E. Expected Power
- Maven分模組開發,執行指令失敗,‘modules.module[3]‘ specifies duplicate child module maven_dao @ line 29, column 1Maven
- goldengate目的端應用序列出錯:[ORA-06550: line 1, column 8: PLS-00201: identifierGoIDE
- test.sh: line 3: $‘\r‘: command not found 或者 vim去掉^M字元字元
- ORACLE ONLINE PATCH & ORA-00600[kcbgtcr_13]Oracle
- Error: no such columnError
- Error-Expected resource of typeError
- switch case 的 expected expressionExpress
- Solaris awk: syntax error near line 1 awk: bailing out near line 1ErrorAI
- Java IO - ReaderJava
- Medical Image Reader
- C++併發程式設計框架Theron(5)——File reader(1)C++程式設計框架
- 《Doom啟示錄》(1-13)OOM
- CMake Error at cmake/readline.cmake:85 (MESSAGE): Curses library not found.Error
- Python IndentationError: expected an indented blockPythonErrorBloC