spring-attic / spring-xd-samples

Sample starter applications and code for use with the Spring XD project
Apache License 2.0
179 stars 217 forks source link

Is the pivotal-hd-demo compatible with Pivotal HD for Pivotal CF? #12

Open teddyking opened 10 years ago

teddyking commented 10 years ago

Hi there,

I've got a Cloud Foundry instance with the Pivotal HD for Pivotal CF product deployed. I'm trying to test this deployment by using the pivotal-hd-demo included in this repo, however I'm running into some problems.

Do you know if the sample app is compatible with PHD for PCF?

I'm testing with spring xd 1.0.0.M7 and Pivotal HD for Pivotal CF 1.2.0.0.

Thanks

trisberg commented 10 years ago

Haven't tested this with PCF + PHD. What errors are you seeing?

-Thomas

teddyking commented 10 years ago

Hi, I managed to get this working with a couple of adjustments:

  1. create the gpadmin user on my workstation machine
  2. cp -R $XD_HOME/xd/config/ $XD_HOME

I was also getting an ERROR: permission denied for external protocol pxf error when trying to create the external table. I got around this by SSHing to the hawq-master node, logging into psql and running the create command from there instead.

After that everything's working as expected.

Cheers, Ed