kstyrc/embedded-redis

Missing redis-server binaries for ppc64le platform causing testcase failure of presto-redis module.

Opened this issue · 0 comments

Hi,

I am trying to port presto on ppc64le platform on Ubuntu 15.04, where getting test case failure on presto-redis module.

facing following errors:
[ERROR] Caused by: redis.clients.jedis.exceptions.JedisConnectionException: java.net.ConnectExcep tion: Connection refused
[ERROR] at redis.clients.jedis.Connection.connect(Connection.java:148)
[ERROR] at redis.clients.jedis.BinaryClient.connect(BinaryClient.java:75)
[ERROR] at redis.clients.jedis.BinaryJedis.connect(BinaryJedis.java:1572)
[ERROR] at redis.clients.jedis.JedisFactory.makeObject(JedisFactory.java:69)
[ERROR] at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:819)
[ERROR] at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:42 9)
[ERROR] at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:36 0)
[ERROR] at redis.clients.util.Pool.getResource(Pool.java:48)
[ERROR] ... 44 more
[ERROR] Caused by: java.net.ConnectException: Connection refused
[ERROR] at java.net.PlainSocketImpl.socketConnect(Native Method)
[ERROR] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
[ERROR] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
[ERROR] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
[ERROR] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
[ERROR] at java.net.Socket.connect(Socket.java:589)
[ERROR] at redis.clients.jedis.Connection.connect(Connection.java:142)

After going through the source code, I identified that redis-server is being installed for the test execution from the jar embedded-redis-0.6.jar.
Since I am using Ubuntu 15.04 OS, it is trying to install redis-server from the location redis/2.8.9/linux/redis-server which is present inside 'embedded-redis-0.6.jar'.
I think this executable is generated for x86 platform and is not compatible for ppc64le.

so, could you please add support for the ppc64le architecture by adding binaries for redis-server of ppc64le platform.

Regards,
Naresh.