Sardana Nazarova created SAMZA-1770:
---------------------------------------

             Summary: TaskContext#getStore should return KeyValueStore not 
Object
                 Key: SAMZA-1770
                 URL: https://issues.apache.org/jira/browse/SAMZA-1770
             Project: Samza
          Issue Type: Task
          Components: kv-store
    Affects Versions: 0.13.1, 0.14.0, 0.13.0, 0.14.1
            Reporter: Sardana Nazarova


When setting custom made store not implementing 
org.apache.samza.storage.kv.KeyValueStore interface, job fails with 
CastCastException at TaskContext#getStore. Since getStore actually returns 
KeyValueStore object, the method's signature must be changed to
{noformat}
KeyValueStore getStore(String name);{noformat}
as in org.apache.samza.container.TaskContextImpl.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to