mapr / KubernetesDataFabric

MapR Kubernetes Data Fabric
https://maprdocs.mapr.com/60/PersistentStorage/kdf_overview.html
Other
7 stars 7 forks source link

Fuse mount in containers does not allow to create files larger 64kB #8

Closed amalic closed 5 years ago

amalic commented 5 years ago

Prerequisites:

Steps to reproduce

  1. Start any linux container (e.g. CentOs or Ubuntu and add command: ["tail", "-f", "/dev/null"] to your yaml file to prevent container shutting down immediatelly
  2. Mount MaprFS storage into the container into e.g. /data
  3. wget a large file --> see output below
[root@centos-3-f4sqh data]# pwd
/data

[root@centos-3-f4sqh data]# wget http://ipv4.download.thinkbroadband.com/1GB.zip
--2019-06-06 14:25:21--  http://ipv4.download.thinkbroadband.com/1GB.zip
Resolving ipv4.download.thinkbroadband.com (ipv4.download.thinkbroadband.com)... 80.249.99.148
Connecting to ipv4.download.thinkbroadband.com (ipv4.download.thinkbroadband.com)|80.249.99.148|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1073741824 (1.0G) [application/zip]Saving to: '1GB.zip'

 0% [                                                                     ] 147,255     --.-K/s   in 0.08s

Cannot write to '1GB.zip' (Invalid argument).

[root@centos-3-f4sqh data]# ls -al
total 73
drwxr-xr-x. 2 1000 1000     1 Jun  6 14:25 .
drwxr-xr-x. 1 root root  4096 Jun  6 14:12 ..
-rw-r--r--. 1 root root 65536 Jun  6 14:25 1GB.zip

[root@centos-3-f4sqh data]# mount | grep /data
posix-client-basic on /data type fuse.posix-client-basic (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other)

Other things also seem to have issues

[root@centos-3-f4sqh data]# fallocate -l 1 test.txt
fallocate: fallocate failed: Operation not supported

[root@centos-3-f4sqh data]# echo "Hello world" > test.txt

[root@centos-3-f4sqh data]# cat test.txt
Hello world
amalic commented 5 years ago

works now with secure mapr setup