Apache Whirr (retired)
  1. Apache Whirr (retired)
  2. WHIRR-540

Java Processes Terminate Immediately when starting elasticsearch cluster at EC2

    Details

    • Type: Bug Bug
    • Status: Patch Available
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.7.1
    • Fix Version/s: 0.9.0
    • Component/s: service/elasticsearch
    • Labels:
    • Environment:

      EC2 attempting to run 5 M1 Large Instances

      Description

      When using latest whirr from github (commit f5fd55ef8656b247d9f4ff722264abd0106de669), and trying to bring up a cluster at EC2 using whirr, The machines have ElasticSearch (0.17.9, 0.18.5) installed, but after about 20 seconds the java process terminates. This is due to permission problems with the remote filesystems. Whirr is not configuring the permissions of the cluster's ephemerial storage properly, and ElasticSearch fails to run.

      I have a suggested patch, but as I don't know Whirr very well, I don't know if it meets your project's goals.

      1. WHIRR-540.patch
        3 kB
        eric chazan
      2. elasticsearch_whirr.tar.gz
        2 kB
        eric chazan

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        3m 36s 1 eric chazan 28/Feb/12 13:49
        Tom White made changes -
        Fix Version/s 0.9.0 [ 12319840 ]
        Fix Version/s 0.8.1 [ 12322955 ]
        Tom White made changes -
        Fix Version/s 0.8.1 [ 12322955 ]
        Fix Version/s 0.8.0 [ 12321649 ]
        Andrei Savu made changes -
        Fix Version/s 0.8.0 [ 12321649 ]
        Fix Version/s 0.8.0-alpha.1 [ 12318880 ]
        Hide
        Andrei Savu added a comment -

        Looks good. Before committing I will try to replicate the problem you are seeing by changing the integration test do index a document. Thanks!

        Show
        Andrei Savu added a comment - Looks good. Before committing I will try to replicate the problem you are seeing by changing the integration test do index a document. Thanks!
        Hide
        eric chazan added a comment -

        Sorry, I've never done this before. Let me know if the format is incorrect.

        Show
        eric chazan added a comment - Sorry, I've never done this before. Let me know if the format is incorrect.
        eric chazan made changes -
        Attachment WHIRR-540.patch [ 12516350 ]
        Hide
        Andrei Savu added a comment -

        Can you attach a diff? That would be much easier to review & commit. Also see:
        https://cwiki.apache.org/confluence/display/WHIRR/How+To+Contribute

        Show
        Andrei Savu added a comment - Can you attach a diff? That would be much easier to review & commit. Also see: https://cwiki.apache.org/confluence/display/WHIRR/How+To+Contribute
        Hide
        eric chazan added a comment -

        Thanks Andrei!

        Show
        eric chazan added a comment - Thanks Andrei!
        eric chazan made changes -
        Attachment elasticsearch_whirr.tar.gz [ 12516329 ]
        eric chazan made changes -
        Field Original Value New Value
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        Andrei Savu added a comment -

        Please attach and I'm sure we can find a way to commit to trunk.

        Show
        Andrei Savu added a comment - Please attach and I'm sure we can find a way to commit to trunk.
        eric chazan created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            eric chazan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - 3h
              3h
              Remaining:
              Remaining Estimate - 3h
              3h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development