Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-451

Actualize scala cache affinity examples.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • sprint-1
    • sprint-2
    • general
    • None
    • Ubuntu 14.04, Ignite ver. 1.0.0-RC1#20150217-sha1:16ef8eac

    Description

      ---------------------------------------------
      STEPS FOR REPRODUCE
      ---------------------------------------------
      1. Run 4 cache nodes (for example, 2 from command line, and 2 from Idea IDE)
      2. Run ScalarCacheAffinityExample1
      -----------------------------------------------
      ACTUAL RESULT
      -----------------------------------------------
      There are unexpected "null" values printed on the example's IDE node:
      "
      >>> Storing keys in cache: List(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z)
      >>> Executing affinity job for key: E
      >>> Executing affinity job for key: J
      >>> Executing affinity job for key: O
      >>> Executing affinity job for key: T
      >>> Executing affinity job for key: Y
      >>> Affinity job result for key 'E': null
      >>> Affinity job result for key 'X': null
      >>> Affinity job result for key 'N': n
      >>> Affinity job result for key 'T': t
      >>> Affinity job result for key 'Y': null
      >>> Affinity job result for key 'J': j
      >>> Affinity job result for key 'U': null
      >>> Affinity job result for key 'F': f
      >>> Affinity job result for key 'A': null
      >>> Affinity job result for key 'M': null
      >>> Affinity job result for key 'I': null
      >>> Affinity job result for key 'G': null
      >>> Affinity job result for key 'V': null
      >>> Affinity job result for key 'Q': q
      >>> Affinity job result for key 'L': l
      >>> Affinity job result for key 'B': b
      >>> Affinity job result for key 'P': p
      >>> Affinity job result for key 'C': null
      >>> Affinity job result for key 'H': h
      >>> Affinity job result for key 'W': null
      >>> Affinity job result for key 'K': k
      >>> Affinity job result for key 'R': null
      >>> Affinity job result for key 'O': null
      >>> Affinity job result for key 'D': null
      >>> Affinity job result for key 'Z': z
      >>> Affinity job result for key 'S': null
      "
      -----------------------------------------------------
      EXPECTED RESULT
      -----------------------------------------------------
      "null" shouldn't be printed as results on any nodes:

      "
      >>> Storing keys in cache: List(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z)
      >>> Executing affinity job for key: E
      >>> Executing affinity job for key: J
      >>> Executing affinity job for key: O
      >>> Executing affinity job for key: T
      >>> Executing affinity job for key: Y
      >>> Affinity job result for key 'E': e
      >>> Affinity job result for key 'X': x
      >>> Affinity job result for key 'N': n
      >>> Affinity job result for key 'T': t
      >>> Affinity job result for key 'Y': y
      >>> Affinity job result for key 'J': j
      >>> Affinity job result for key 'U': u
      >>> Affinity job result for key 'F': f
      >>> Affinity job result for key 'A': a
      >>> Affinity job result for key 'M': m
      >>> Affinity job result for key 'I': i
      >>> Affinity job result for key 'G': g
      >>> Affinity job result for key 'V': v
      >>> Affinity job result for key 'Q': q
      >>> Affinity job result for key 'L': l
      >>> Affinity job result for key 'B': b
      >>> Affinity job result for key 'P': p
      >>> Affinity job result for key 'C': c
      >>> Affinity job result for key 'H': h
      >>> Affinity job result for key 'W': w
      >>> Affinity job result for key 'K': k
      >>> Affinity job result for key 'R': r
      >>> Affinity job result for key 'O': o
      >>> Affinity job result for key 'D': d
      >>> Affinity job result for key 'Z': z
      >>> Affinity job result for key 'S': s
      "
      ----------------------------------------------------
      ADDITIONAL INFO
      ----------------------------------------------------
      1) Is NOT reproducible in cases one cache node is started and no one cache node is started
      2) Is NOT reproducible for GG 6.6.3-p1 (ver. 6.6.3-p1-ent#20150228-sha1:ece6cbbd)

      Attachments

        Activity

          People

            Unassigned Unassigned
            vsidorova Vasilisa Sidorova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: