Skip to main content

Not able to fetch local path in directory in stream sets free version .Is any restrictions for local computer files to add in free version ? How to fetch file path in directory ?

@Priya There is no such restriction. You need to make sure that file present on same instance where data collector is running. if you are running data collector as Docker then you need to copy these files to docker container and then need to provide correct path in directory origin.

 


Will try this way, Thanks.


Sure @Priya let us know if you need any further help.

fyi , you can use below command to copy file from host system to docker container

$ docker cp file.txt sdc-container-name:/path/to/copy/file.txt

And, to access your sdc container file system

sudo docker exec -it <sdc container name> bash

 


I am not able to install docker in strigo as it is throwing permission denied error. Can i know how to resolve this issue ?


@Priya make sure you use sudo before pasting the install script


I am using Sudo even though i am getting error .

 

if I try to create a new docker I am getting an error like permission denied.

When I try to create a new file in the inbuilt /Zomato directory and try to fetch through path, I’m getting a file path error in stream sets.

What should I do to load files from local system into stream sets cluster through strigo?

could you pls help me with is …? 


Ah ok.

as Rishi suggested, please use this command to log into your docker first 

 

sudo docker exec -it <sdc container name> bash

 

then use this command

sudo su

 

then create the required folder in your case 

mkdir /inbuilt

mkdir /inbuilt/zomato

 

After doing this if you use 

sudo docker cp file.txt sdc-container-name:/inbuilt/zomato/file.txt

 

Hopefully this should help you copy the file to your docker. 


Reply