NotImplementedError: stat.st_dev unsupported or native support failed to load

Posted hongshu

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了NotImplementedError: stat.st_dev unsupported or native support failed to load相关的知识,希望对你有一定的参考价值。

NotImplementedError: stat.st_dev unsupported or native support failed to load  


bin/logstash agent -f jda-phoenix-forwarder.conf
io/console not supported; tty will not be manipulated
NotImplementedError: block device detection unsupported or native support failed to load
       blockdev? at org/jruby/RubyFileTest.java:67
         device? at <somefolder>/logstash-1.5.0-rc3/vendor/bundle/jruby/1.9/gems/filewatch-0.6.2/lib/filewatch/helper.rb:67
  _sincedb_write at <somefolder>/logstash-1.5.0-rc3/vendor/bundle/jruby/1.9/gems/filewatch-0.6.2/lib/filewatch/tail.rb:230
   sincedb_write at <somefolder>/logstash-1.5.0-rc3/vendor/bundle/jruby/1.9/gems/filewatch-0.6.2/lib/filewatch/tail.rb:203
        teardown at <somefolder>/logstash-1.5.0-rc3/vendor/bundle/jruby/1.9/gems/logstash-input-file-0.1.9/lib/logstash/inputs/file.rb:151
     inputworker at <somefolder>/logstash-1.5.0-rc3/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0.rc3-java/lib/logstash/pipeline.rb:203
     synchronize at org/jruby/ext/thread/Mutex.java:149
     inputworker at <somefolder>/logstash-1.5.0-rc3/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0.rc3-java/lib/logstash/pipeline.rb:203
     start_input at <somefolder>/logstash-1.5.0-rc3/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0.rc3-java/lib/logstash/pipeline.rb:171

logstash自带的jruby有问题,不兼容引起,去官网下载替换就可以

升级下jruby就OK了


以上是关于NotImplementedError: stat.st_dev unsupported or native support failed to load的主要内容,如果未能解决你的问题,请参考以下文章

为啥返回 NotImplemented 而不是引发 NotImplementedError

NotImplementedError:分配中的无效类型

kotlin.NotImplementedError: 操作未在 EditText 上使用 addTextChangedListenerher 实现

NotImplementedError:具有分组映射 Pandas UDF 的无效 returnType

NotImplementedError:Django 没有为 AnonymousUser 提供数据库表示

NotImplementedError:此表达式不支持运算符“getitem”