Connecting to a Hadoop database