Category : centos

I’m using apache arrow project(https://arrow.apache.org/docs/python/filesystems.html#hadoop-file-system-hdfs) to do read parquet file located in HDFS. Apache arrow uses hadoop native library files to read is from HDFS. one of the file it uses is libhdfs.dylib OSError: Unable to load libhdfs: dlopen(/Users/sharad.mishra/Library/hadoop/hadoop-2.7.3/lib/native/libhdfs.dylib, 6): image not found I downloaded hadoop source files (https://github.com/apache/hadoop.git) and build it including native. Hadoop ..

Read more

I’m trying to create a docker image where the llvm-toolset-7 is automatically enabled when the image is run. The context is this image, since it extends from rustembedded/cross:x86_64-unknown-linux-gnu, is to cross-compile to linux. Since for my purposes I need a recent version of llvm, I need the toolset to be enabled by default when I ..

Read more

I have a dockerized Ruby-on-Rails-Application which als uses NGINX. I want to get the client’s IP Address. I wanted to do this with request.remote_ip, but this didn’t work. So I decided to get all IP-relevant headers from the Request. The result looked like this: (172.24.0.1 is the IP-Address of the server itself) { "remote_ip": "172.24.0.1", ..

Read more