Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-270

Fix erasure warning in TestKeyValuePerformance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7.0
    • 0.8.0
    • kv

    Description

      Post SAMZA-254, the check task has the following warning:

      /Users/jhoman/repos/samza/samza-test/src/main/scala/org/apache/samza/test/performance/TestKeyValuePerformance.scala:116: warning: non-variable type argument Array[Byte] in type org.apache.samza.storage.kv.KeyValueStorageEngine[Array[Byte],Array[Byte]] is unchecked since it is eliminated by erasure
            val db = if (!engine.isInstanceOf[KeyValueStorageEngine[Array[Byte], Array[Byte]]]) \{

      Attachments

        1. samza-270.patch
          1 kB
          Raul Castro Fernandez

        Activity

          People

            raulcf Raul Castro Fernandez
            jghoman Jakob Homan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: