Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      HP-UX ia64
    • Number of attachments :
      0

      Description

      when I run logstash (apache 2.0),then as log:
      NotImplementedError: stat.st_dev unsupported or native support failed to load
      dev_major at org/jruby/RubyFileStat.java:388
      _discover_file at file:/data03/AIS_HOME/framecs/logstash/logstash-1.1.0-monolithic.jar!/gems/filewatch-0.3.2/lib/filewatch/watch.rb:133
      each at org/jruby/RubyArray.java:1612
      _discover_file at file:/data03/AIS_HOME/framecs/logstash/logstash-1.1.0-monolithic.jar!/gems/filewatch-0.3.2/lib/filewatch/watch.rb:115
      watch at file:/data03/AIS_HOME/framecs/logstash/logstash-1.1.0-monolithic.jar!/gems/filewatch-0.3.2/lib/filewatch/watch.rb:34
      tail at file:/data03/AIS_HOME/framecs/logstash/logstash-1.1.0-monolithic.jar!/gems/filewatch-0.3.2/lib/filewatch/tail.rb:49
      run at file:/data03/AIS_HOME/framecs/logstash/logstash-1.1.0-monolithic.jar!/logstash/inputs/file.rb:66
      each at org/jruby/RubyArray.java:1612
      run at file:/data03/AIS_HOME/framecs/logstash/logstash-1.1.0-monolithic.jar!/logstash/inputs/file.rb:66
      run_input at file:/data03/AIS_HOME/framecs/logstash/logstash-1.1.0-monolithic.jar!/logstash/agent.rb:631
      start_input at file:/data03/AIS_HOME/framecs/logstash/logstash-1.1.0-monolithic.jar!/logstash/agent.rb:322
      Exception in thread "LogStash::Agent" org.jruby.exceptions.RaiseException: (SystemExit) stat.st_dev unsupported or native support failed to load
      at org.jruby.RubyThread.join(org/jruby/RubyThread.java:509)
      at LogStash::Agent.wait(file:/data03/AIS_HOME/framecs/logstash/logstash-1.1.0-monolithic.jar!/logstash/agent.rb:312)
      at logstash.runner.main(logstash/runner.rb:40)
      at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1612)
      at logstash.runner.main(logstash/runner.rb:40)
      at logstash.runner.(root)(logstash/runner.rb:108)
      how jruby support hp ux at the extent? or should i build a native lib for hp and how ?

        Activity

        Hide
        Hiro Asari added a comment -

        No one on the core team has access to HP-UX (Itanium in your case). Can you try building JFFI and see if it works for you? The process is explained in JRUBY-4583.

        Thank you!

        Show
        Hiro Asari added a comment - No one on the core team has access to HP-UX (Itanium in your case). Can you try building JFFI and see if it works for you? The process is explained in JRUBY-4583 . Thank you!
        Hide
        loukh added a comment -

        i run ant java test
        issue log as:
        -generate-native-headers:

        -build-native-library:
        [exec] Make: line 4: syntax error。停止。
        i see the build.xml
        task of build-native-library:
        <exec executable="cygpath" outputproperty="jni.GNUmakefile" osfamily="Windows">
        <arg value="-u"/>
        <arg value="$

        {src.native.dir}/GNUmakefile"/>
        </exec>
        <exec executable="cygpath" outputproperty="jni.src.dir" osfamily="Windows">
        <arg value="-u"/>
        <arg value="${src.native.dir}

        "/>
        </exec>
        <exec executable="cygpath" outputproperty="jni.build.dir" osfamily="Windows">
        <arg value="-u"/>
        <arg value="$

        {build.native.dir}

        "/>

        cygpath is for windows ,can this config xml run for hp?
        do you have build.xml of sunos, maybe i can modify by myself)

        Show
        loukh added a comment - i run ant java test issue log as: -generate-native-headers: -build-native-library: [exec] Make: line 4: syntax error。停止。 i see the build.xml task of build-native-library: <exec executable="cygpath" outputproperty="jni.GNUmakefile" osfamily="Windows"> <arg value="-u"/> <arg value="$ {src.native.dir}/GNUmakefile"/> </exec> <exec executable="cygpath" outputproperty="jni.src.dir" osfamily="Windows"> <arg value="-u"/> <arg value="${src.native.dir} "/> </exec> <exec executable="cygpath" outputproperty="jni.build.dir" osfamily="Windows"> <arg value="-u"/> <arg value="$ {build.native.dir} "/> cygpath is for windows ,can this config xml run for hp? do you have build.xml of sunos, maybe i can modify by myself)
        Hide
        loukh added a comment -

        i put this on linux, run ant jar test success.

        but on hp ia64 system issue wrong.
        -build-native-library:
        [exec] Make: line 4: syntax error。停止。
        i do not know where is the wrong.

        Show
        loukh added a comment - i put this on linux, run ant jar test success. but on hp ia64 system issue wrong. -build-native-library: [exec] Make: line 4: syntax error。停止。 i do not know where is the wrong.
        Hide
        LeonidShamis added a comment -

        Hi,

        Tried running Logstash (that uses jruby) on HP-UX and got the same problem - see below.

        Exception in thread "LogStash::Runner" org.jruby.exceptions.RaiseException: (SystemExit) stat.st_dev unsupported or native support failed to load
        at org.jruby.RubyThread.join(org/jruby/RubyThread.java:509)

        What can be done to resolve it or at least to assist in identifying the root cause?

        NotImplementedError: stat.st_dev unsupported or native support failed to load
        dev_major at org/jruby/RubyFileStat.java:397
        _discover_file at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/gems/filewatch-0.3.3/lib/filewatch/watch.rb:133
        each at org/jruby/RubyArray.java:1615
        _discover_file at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/gems/filewatch-0.3.3/lib/filewatch/watch.rb:115
        watch at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/gems/filewatch-0.3.3/lib/filewatch/watch.rb:34
        tail at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/gems/filewatch-0.3.3/lib/filewatch/tail.rb:49
        run at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/logstash/inputs/file.rb:82
        each at org/jruby/RubyArray.java:1615
        run at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/logstash/inputs/file.rb:82
        run_input at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/logstash/agent.rb:684
        start_input at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/logstash/agent.rb:350
        NotImplementedError: stat.st_dev unsupported or native support failed to load
        dev_major at org/jruby/RubyFileStat.java:397
        _discover_file at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/gems/filewatch-0.3.3/lib/filewatch/watch.rb:133
        each at org/jruby/RubyArray.java:1615
        _discover_file at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/gems/filewatch-0.3.3/lib/filewatch/watch.rb:115
        watch at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/gems/filewatch-0.3.3/lib/filewatch/watch.rb:34
        tail at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/gems/filewatch-0.3.3/lib/filewatch/tail.rb:49
        run at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/logstash/inputs/file.rb:82
        each at org/jruby/RubyArray.java:1615
        run at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/logstash/inputs/file.rb:82
        run_input at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/logstash/agent.rb:684
        start_input at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/logstash/agent.rb:350
        Exception in thread "LogStash::Runner" org.jruby.exceptions.RaiseException: (SystemExit) stat.st_dev unsupported or native support failed to load
        at org.jruby.RubyThread.join(org/jruby/RubyThread.java:509)
        at Agent.wait(file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/logstash/agent.rb:326)
        at logstash.runner.main(logstash/runner.rb:42)
        at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1615)
        at logstash.runner.main(logstash/runner.rb:41)
        at logstash.runner.(root)(logstash/runner.rb:120)

        Regards,
        Leonid

        Show
        LeonidShamis added a comment - Hi, Tried running Logstash (that uses jruby) on HP-UX and got the same problem - see below. Exception in thread "LogStash::Runner" org.jruby.exceptions.RaiseException: (SystemExit) stat.st_dev unsupported or native support failed to load at org.jruby.RubyThread.join(org/jruby/RubyThread.java:509) What can be done to resolve it or at least to assist in identifying the root cause? NotImplementedError: stat.st_dev unsupported or native support failed to load dev_major at org/jruby/RubyFileStat.java:397 _discover_file at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/gems/filewatch-0.3.3/lib/filewatch/watch.rb:133 each at org/jruby/RubyArray.java:1615 _discover_file at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/gems/filewatch-0.3.3/lib/filewatch/watch.rb:115 watch at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/gems/filewatch-0.3.3/lib/filewatch/watch.rb:34 tail at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/gems/filewatch-0.3.3/lib/filewatch/tail.rb:49 run at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/logstash/inputs/file.rb:82 each at org/jruby/RubyArray.java:1615 run at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/logstash/inputs/file.rb:82 run_input at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/logstash/agent.rb:684 start_input at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/logstash/agent.rb:350 NotImplementedError: stat.st_dev unsupported or native support failed to load dev_major at org/jruby/RubyFileStat.java:397 _discover_file at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/gems/filewatch-0.3.3/lib/filewatch/watch.rb:133 each at org/jruby/RubyArray.java:1615 _discover_file at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/gems/filewatch-0.3.3/lib/filewatch/watch.rb:115 watch at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/gems/filewatch-0.3.3/lib/filewatch/watch.rb:34 tail at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/gems/filewatch-0.3.3/lib/filewatch/tail.rb:49 run at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/logstash/inputs/file.rb:82 each at org/jruby/RubyArray.java:1615 run at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/logstash/inputs/file.rb:82 run_input at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/logstash/agent.rb:684 start_input at file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/logstash/agent.rb:350 Exception in thread "LogStash::Runner" org.jruby.exceptions.RaiseException: (SystemExit) stat.st_dev unsupported or native support failed to load at org.jruby.RubyThread.join(org/jruby/RubyThread.java:509) at Agent.wait( file:/home/infra/scripts/logstash/logstash-1.1.1-monolithic_PATCHED.jar!/logstash/agent.rb:326 ) at logstash.runner.main(logstash/runner.rb:42) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1615) at logstash.runner.main(logstash/runner.rb:41) at logstash.runner.(root)(logstash/runner.rb:120) Regards, Leonid
        Hide
        LeonidShamis added a comment -

        Hi,

        Forgot to provide the OS and Java details:

        HP-UX B.11.31 ia64

        java version "1.6.0.10"
        Java(TM) SE Runtime Environment (build 1.6.0.10-jinteg_11_mar_2011_09_19-b00)
        Java HotSpot(TM) Server VM (build 19.1-b02-jinteg:2011mar11-07:33, mixed mode)

        Regards,
        Leonid

        Show
        LeonidShamis added a comment - Hi, Forgot to provide the OS and Java details: HP-UX B.11.31 ia64 java version "1.6.0.10" Java(TM) SE Runtime Environment (build 1.6.0.10-jinteg_11_mar_2011_09_19-b00) Java HotSpot(TM) Server VM (build 19.1-b02-jinteg:2011mar11-07:33, mixed mode) Regards, Leonid
        Hide
        Charles Oliver Nutter added a comment -

        This all still comes back to getting a JFFI build on HP-UX ia64. Can someone try it again, using the instructions from JRUBY-4583?

        Show
        Charles Oliver Nutter added a comment - This all still comes back to getting a JFFI build on HP-UX ia64. Can someone try it again, using the instructions from JRUBY-4583 ?

          People

          • Assignee:
            Thomas E Enebo
            Reporter:
            loukh
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: