[ 
https://issues.apache.org/jira/browse/STORM-1934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15355314#comment-15355314
 ] 

ASF GitHub Bot commented on STORM-1934:
---------------------------------------

Github user HeartSaVioR commented on the issue:

    https://github.com/apache/storm/pull/1528
  
    @arunmahadevan 
    This works perfectly.
    
    - Writing new assignment
    ```
    6700 {:storm-id "test-topology2-4-1467185073", :executors ([7 7] [4 4] [1 
1]), :resources [0.0 0.0 0.0]}, 
    6702 {:storm-id "test-topology2-4-1467185073", :executors ([6 6] [3 3]), 
:resources [0.0 0.0 0.0]}, 
    6701 {:storm-id "test-topology2-4-1467185073", :executors ([5 5] [2 2]), 
:resources [0.0 0.0 0.0]}
    ```
    
    - Assigned executors:
    ```
    {6700 {:storm-id "test-topology2-4-1467185073", :executors [[7 7] [4 4] [1 
1]], :resources #object[org.apache.storm.generated.WorkerResources 0x6dabc02d 
"WorkerResources(mem_on_heap:0.0, mem_off_heap:0.0, cpu:0.0)"]}, 
    6701 {:storm-id "test-topology2-4-1467185073", :executors [[5 5] [2 2]], 
:resources #object[org.apache.storm.generated.WorkerResources 0x6de46954 
"WorkerResources(mem_on_heap:0.0, mem_off_heap:0.0, cpu:0.0)"]}, 
    6702 {:storm-id "test-topology2-4-1467185073", :executors [[6 6] [3 3]], 
:resources #object[org.apache.storm.generated.WorkerResources 0x60f1fbb5 
"WorkerResources(mem_on_heap:0.0, mem_off_heap:0.0, cpu:0.0)"]}}
    ```
    
    - Allocated:
    ```
    "612eeee0-0ddc-4820-9062-c79276d56cf2" [:disallowed {:time-secs 1467209575, 
:storm-id "test-topology2-4-1467185073", :executors [[2 2] [6 6] [-1 -1] [4 
4]], :port 6702}], 
    "9751163a-f7b8-46a5-9b9c-bcd1fd1446cd" [:disallowed {:time-secs 1467209574, 
:storm-id "test-topology2-4-1467185073", :executors [[7 7] [3 3] [1 1] [-1 -1] 
[5 5]], :port 6701}]
    ```
    
    Now three workers are running.


> Race condition between sync-supervisor and sync-processes raises several 
> strange issues
> ---------------------------------------------------------------------------------------
>
>                 Key: STORM-1934
>                 URL: https://issues.apache.org/jira/browse/STORM-1934
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-core
>    Affects Versions: 1.0.0, 2.0.0, 1.0.1
>            Reporter: Jungtaek Lim
>            Assignee: Jungtaek Lim
>            Priority: Critical
>
> There're some strange issues including STORM-1933 and others (which I will 
> file an issue soon) which are related to race condition in supervisor.
> As I mentioned to STORM-1933, basically sync-supervisor relies on zk 
> assignment, and sync-processes relies on local assignment and local workers 
> directory, but in fact sync-supervisor also access local state and take some 
> actions which affects sync-processes. And also Satish left the comment to 
> STORM-1933 describing other issue related to race condition and idea to fix 
> this which is same page on me.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to