Giter Site home page Giter Site logo

"coordinator ssh" doesn't work about airship HOT 5 OPEN

airlift avatar airlift commented on August 11, 2024
"coordinator ssh" doesn't work

from airship.

Comments (5)

dain avatar dain commented on August 11, 2024

Does "coordinator show" work for you?

from airship.

11xor6 avatar 11xor6 commented on August 11, 2024

No, same error I believe

from airship.

11xor6 avatar 11xor6 commented on August 11, 2024

$ airship --debug coordinator show
2013-06-11T15:53:34.337-0700 INFO main io.airlift.log.Logging Logging to stderr
Exception in thread "main" UnexpectedResponseException{request=Request{uri=http://ec2-23-22-68-45.compute-1.amazonaws.com:64000/v1/admin/coordinator, method=GET, headers={}, bodyGenerator=null}, statusCode=500, statusMessage=Cannot compute unique prefix size for collection with duplicate entries, headers={Content-Length=[1411], Content-Type=[text/html;charset=ISO-8859-1], Cache-Control=[must-revalidate,no-cache,no-store]}}
at io.airlift.http.client.JsonResponseHandler.handle(JsonResponseHandler.java:75)
at io.airlift.http.client.ApacheHttpClient$1.handleResponse(ApacheHttpClient.java:134)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1070)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1044)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1035)
at io.airlift.http.client.ApacheHttpClient.execute(ApacheHttpClient.java:122)
at io.airlift.airship.cli.HttpCommander.showCoordinators(HttpCommander.java:189)
at io.airlift.airship.cli.Airship$CoordinatorShowCommand.execute(Airship.java:720)
at io.airlift.airship.cli.Airship$AirshipCommanderCommand.execute(Airship.java:276)
at io.airlift.airship.cli.Airship$AirshipCommanderCommand.execute(Airship.java:220)
at io.airlift.airship.cli.Airship$AirshipCommand.call(Airship.java:179)
at io.airlift.airship.cli.Airship.main(Airship.java:153)

from airship.

dain avatar dain commented on August 11, 2024

Oh this is an error in the provisioner/coordinator... it is getting duplicates in the list of coordinators for some reason.

from airship.

11xor6 avatar 11xor6 commented on August 11, 2024

I dug into the code and apparently a coordinator keeps a list of "other coordinators," but the coordinator also somehow adds itself to that list causing duplicates to be returned by io.airlift.airship.coordinator.Coordinator.getCoordinators().

I don't have time to finish trying to fix this issue, but this is a report of what is actually going wrong.

from airship.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.