cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

extension for converting csv files to parquet fails on Thigworx 9.6 installed on kubernetes

dbologna
12-Amethyst

extension for converting csv files to parquet fails on Thigworx 9.6 installed on kubernetes

The extension uses the org.apache.parquet library and writes the parquest file to Thingworx repositories. The service works correctly if Thingworx is installed on a Virtual machine. The service fails to write the file to Thingworx repositories if Thingworx is installed on kubernetes containers. In particular the extension fails by going to do a chmod 644 on the file to define the correct privileges. Has anyone had the same problem? Are there any solutions to the problem?

Thanks

Dimitri

2 REPLIES 2

This seems specific to how the ThingWorxStorage PVC is mounted in the PTC Cloud. We are aware that you have opened a case and are currently investigating.

Hello Dimitri,

 

Just a guess -- some k8s implementations (notably Openshift) do not grant container user root permissions. I guess you mount /ThingworxStorage as a Persistent Volume. In this case you need to specify user IDs explicitly on your pods and volumes, to grant non-root users write access to such mount, as described here.

 

Also, a pretty obvious tip -- try to log into ThingWorx pod and check permissions on the /ThingworxStorage/repository directory itself.

 

/ Constantine

Announcements


Top Tags