Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • h2o init, shutdown, query

    Hello,

    I've been using the new H2O integration within Stata 19. The first time I used it, it was great, but now I'm having connection problems that I cannot sort out.

    Last Friday, I tried to shut down my H2O connection before leaving the office. There were some error messages I don't remember, and I ended up giving up, closing Stata, and going home. Now, it seems that there's a problem because I didn't shut it down, and I'm not sure how to assess or resolve the problem.

    When I type
    Code:
    h2o init
    I get the error message:
    Code:
    failed to shutdown the H2O cluster
    When I type
    Code:
    h2o shutdown, force
    I get the error message:
    Code:
    no H2O cluster is running. You can start a new local cluster with h2o init or connect to an existing cluster with h2o connect
    When I type
    Code:
    h2o query
    I get the response:
    Code:
    no H2O cluster is running. You can start a new local cluster with h2o init or connect to an existing cluster with h2o connect.
    I'm sure I'm misinterpreting these messages, but I feel like the first one is telling me that I can't start a new cluster because I still have a previous cluster going, but the other two are telling me that I have no clusters ongoing. I'm not sure what to do.

    For what it's worth:
    1) I am using the same machine I was last week.
    2) When I initialized a cluster last week, I used
    Code:
    h2o init
    without changing any defaults or using any options. Thus, it should be connected to "http://localhost:54321" and
    Code:
    h2o connect
    should connect to it. But h2o connect returns the error:
    Code:
    H2O cluster running at http://localhost:54321 not found
    Thank you,
    Mitch
    Mitch Downey, Grad student, UCSD Economics

  • #2
    Hi Mitch Downey,

    It seems that your H2O cluster was shutdown unsuccessfully. Can you tell us which operating system are you running?

    Comment


    • #3
      Hi Zhao. Thanks so much for getting back to me. I'm using Windows. Do you more specific information than that? Thanks, Mitch
      Mitch Downey, Grad student, UCSD Economics

      Comment


      • #4
        Hi Mitch Downey,

        Can you open your Task Manager and spot whether there is a process named "Zulu Platform x64 Architecture" on the Process tab? This is a Java process which hosts the H2O cluster locally. The process may have become orphaned in your shutdown process.

        If you find it, right click on it and click "End task". This will terminate the process. Then open Stata and type h2o init again to see whether your problem persists. If yes, please contact our TechSupport service so that we can have a closer look.

        Comment


        • #5
          Hi Zhao,

          That process was running, and using up 84% of my CPU. I've ended it, and now I've been able to initialize a new h2o cluster. So the problem is fully resolved, thanks so much for you help. And great job with whatever involvement you had with h2o -- it's a really powerful addition to Stata.

          Best,
          Mitch
          Mitch Downey, Grad student, UCSD Economics

          Comment

          Working...
          X