Redis cluster doesn't support the KEYS operation cluster wide. Whenever you're in a node in redis cluster if you issue a KEYS <pattern> it will only retrieve the keys of the current node, it won't fetch keys from other nodes.
You can currently do this in Jedis by retrieving the nodes with the getClusterNodes method and then sending the KEYS command to the desired node.
Marcos.