Skip to content

Instantly share code, notes, and snippets.

@leonj1
Last active August 3, 2017 12:14
Show Gist options
  • Save leonj1/2c48719021e154bec5fc13c472aa1432 to your computer and use it in GitHub Desktop.
Save leonj1/2c48719021e154bec5fc13c472aa1432 to your computer and use it in GitHub Desktop.
20:47:03.949496 Dispatch 12: LOOKUP, NodeId: 1. names: [tmp] 4 bytes
** Lookup **
** Lookup: header: &{44 1 12 1 {{0 0} 17984} 0} Name: tmp **
** internalLookup out: {M00 SZ=0 L=0 0:0 B0*0 i0:0 A 0.000000000 M 0.000000000 C 0.000000000} parent: &{{0 2 1} 0 {0 0} [] 0xc420095140 0xc4200b46e0 map[tmp:0xc42007a8c0] map[] 0xc4200b46e0} name: tmp header: &{44 1 12 1 {{0 0} 17984} 0}**
------------------------
In pathfs.GetAttr
Out: {M00 SZ=0 L=0 0:0 B0*0 i0:0 A 0.000000000 M 0.000000000 C 0.000000000}
File: <nil>
Context: &{{0 0} 17984}
------------------------
pathfs.Inode
pathfs.Inode: Returning &{{0 3 1} 0 {0 0} [] 0xc420095ef0 0xc4200b46e0 map[jose:0xc4201543f0] map[{0xc42007a460 tmp}:{}] <nil>}
In pathfs.GetAttr: file == nil || code == fuse.ENOSYS || code == fuse.EBADF
------------------------
pathfs.Inode
pathfs.Inode: Returning &{{0 3 1} 0 {0 0} [] 0xc420095ef0 0xc4200b46e0 map[jose:0xc4201543f0] map[{0xc42007a460 tmp}:{}] <nil>}
------------------------
pathfs.Inode
pathfs.Inode: Returning &{{0 2 1} 0 {0 0} [] 0xc420095140 0xc4200b46e0 map[tmp:0xc42007a8c0] map[] 0xc4200b46e0}
GetAttr
Fileystem info for tmp: {0 0 10970 16386 supergroup 0 1501706646380 hdfs 1777 0 0 DIRECTORY}
GetAttr FileStatus: {0 0 10970 16386 supergroup 0 1501706646380 hdfs 1777 0 0 DIRECTORY}
GetAttr: Directory found
fuse.Attr is: {M040755 SZ=0 L=0 0:0 B0*0 i0:0 A 0.000000000 M 1501706646380.000000000 C 0.000000000}
In pathfs.GetAttr: setting client inode (DISABLED)
------------------------
pathfs.setClientInode
pathfs.setClientInode: not setting anything
In pathfs.GetAttr. Returning code OK
** internalLookup ** Returning2 Child: &{{0 3 1} 0 {0 0} [] 0xc420095ef0 0xc4200b46e0 map[jose:0xc4201543f0] map[{0xc42007a460 tmp}:{}] <nil>} Code: OK
20:47:03.956651 Serialize 12: LOOKUP code: OK value: {NodeId: 3 Generation=0 EntryValid=0.000 AttrValid=0.000 Attr={M040755 SZ=0 L=0 0:0 B0*0 i0:3 A 0.000000000 M 1501706646380.000000000 C 0.000000000}}
20:47:03.956695 Dispatch 13: LOOKUP, NodeId: 3. names: [jose] 5 bytes
** Lookup **
** Lookup: header: &{45 1 13 3 {{0 0} 17984} 0} Name: jose **
** internalLookup out: {M00 SZ=0 L=0 0:0 B0*0 i0:0 A 0.000000000 M 0.000000000 C 0.000000000} parent: &{{0 3 2} 0 {0 0} [] 0xc420095ef0 0xc4200b46e0 map[jose:0xc4201543f0] map[{0xc42007a460 tmp}:{}] <nil>} name: jose header: &{45 1 13 3 {{0 0} 17984} 0}**
------------------------
In pathfs.GetAttr
Out: {M00 SZ=0 L=0 0:0 B0*0 i0:0 A 0.000000000 M 0.000000000 C 0.000000000}
File: <nil>
Context: &{{0 0} 17984}
------------------------
pathfs.Inode
pathfs.Inode: Returning &{{0 4 1} 0 {0 0} [] 0xc4201524e0 0xc4200b46e0 map[99a.txt:0xc42007b0a0] map[{0xc42007a8c0 jose}:{}] <nil>}
In pathfs.GetAttr: file == nil || code == fuse.ENOSYS || code == fuse.EBADF
------------------------
pathfs.Inode
pathfs.Inode: Returning &{{0 4 1} 0 {0 0} [] 0xc4201524e0 0xc4200b46e0 map[99a.txt:0xc42007b0a0] map[{0xc42007a8c0 jose}:{}] <nil>}
------------------------
pathfs.Inode
pathfs.Inode: Returning &{{0 2 1} 0 {0 0} [] 0xc420095140 0xc4200b46e0 map[tmp:0xc42007a8c0] map[] 0xc4200b46e0}
GetAttr
Fileystem info for tmp/jose: {0 0 34 218923433 supergroup 0 1501706817743 dsproxy 755 0 0 DIRECTORY}
GetAttr FileStatus: {0 0 34 218923433 supergroup 0 1501706817743 dsproxy 755 0 0 DIRECTORY}
GetAttr: Directory found
fuse.Attr is: {M040755 SZ=0 L=0 0:0 B0*0 i0:0 A 0.000000000 M 1501706817743.000000000 C 0.000000000}
In pathfs.GetAttr: setting client inode (DISABLED)
------------------------
pathfs.setClientInode
pathfs.setClientInode: not setting anything
In pathfs.GetAttr. Returning code OK
** internalLookup ** Returning2 Child: &{{0 4 1} 0 {0 0} [] 0xc4201524e0 0xc4200b46e0 map[99a.txt:0xc42007b0a0] map[{0xc42007a8c0 jose}:{}] <nil>} Code: OK
20:47:03.962681 Serialize 13: LOOKUP code: OK value: {NodeId: 4 Generation=0 EntryValid=0.000 AttrValid=0.000 Attr={M040755 SZ=0 L=0 0:0 B0*0 i0:4 A 0.000000000 M 1501706817743.000000000 C 0.000000000}}
20:47:03.962983 Dispatch 14: LOOKUP, NodeId: 4. names: [99b.txt] 8 bytes
** Lookup **
** Lookup: header: &{48 1 14 4 {{0 0} 17984} 0} Name: 99b.txt **
** internalLookup out: {M00 SZ=0 L=0 0:0 B0*0 i0:0 A 0.000000000 M 0.000000000 C 0.000000000} parent: &{{0 4 2} 0 {0 0} [] 0xc4201524e0 0xc4200b46e0 map[99a.txt:0xc42007b0a0] map[{0xc42007a8c0 jose}:{}] <nil>} name: 99b.txt header: &{48 1 14 4 {{0 0} 17984} 0}**
------------------------
In pathfs.Lookup
------------------------
pathfs.Inode
pathfs.Inode: Returning &{{0 4 2} 0 {0 0} [] 0xc4201524e0 0xc4200b46e0 map[99a.txt:0xc42007b0a0] map[{0xc42007a8c0 jose}:{}] <nil>}
------------------------
pathfs.Inode
pathfs.Inode: Returning &{{0 2 1} 0 {0 0} [] 0xc420095140 0xc4200b46e0 map[tmp:0xc42007a8c0] map[] 0xc4200b46e0}
GetAttr
Fileystem info for tmp/jose/99b.txt: {0 0 0 0 0 0 0 0 }
GetAttr FileStatus: {0 0 0 0 0 0 0 0 }
Does not exist: tmp/jose/99b.txt
In pathfs.Lookup NOTOK
Returing node: <nil> and Code: 2=no such file or directory
** internalLookup ** Returning2 Child: <nil> Code: 2=no such file or directory
20:47:03.968755 Serialize 14: LOOKUP code: 2=no such file or directory value: {NodeId: 0 Generation=0 EntryValid=0.000 AttrValid=0.000 Attr={M00 SZ=0 L=0 0:0 B0*0 i0:0 A 0.000000000 M 0.000000000 C 0.000000000}}
20:47:03.968786 Dispatch 15: MKNOD, NodeId: 4. data: {0107500 (022), 0} names: [99b.txt] 8 bytes
** Mknod **
------------------------
In pathfs.Mknod
------------------------
pathfs.Inode
pathfs.Inode: Returning &{{0 4 2} 0 {0 0} [] 0xc4201524e0 0xc4200b46e0 map[99a.txt:0xc42007b0a0] map[{0xc42007a8c0 jose}:{}] <nil>}
------------------------
pathfs.Inode
pathfs.Inode: Returning &{{0 2 1} 0 {0 0} [] 0xc420095140 0xc4200b46e0 map[tmp:0xc42007a8c0] map[] 0xc4200b46e0}
================================
In Mknod: Name: tmp/jose/99b.txt, Mode: 36672, Dev:0, Context: &{{0 0} 17984}
Mknod, returning OK
In pathfs.Mknod OK
------------------------
In pathfs.createChild
------------------------
pathfs.Inode
pathfs.Inode: Returning &{{0 4 2} 0 {0 0} [] 0xc4201524e0 0xc4200b46e0 map[99a.txt:0xc42007b0a0] map[{0xc42007a8c0 jose}:{}] <nil>}
------------------------
pathfs.SetInode
pathfs.SetInode: Setting n.inode to: &{{0 0 0} 0 {0 0} [] 0xc420160ea0 <nil> map[] map[] <nil>}
------------------------
pathfs.OnAdd (no-op)
In pathfs.createChild: Created and returning: &{0xc4200b4690 0xc4200ba4d0 0 0xc420164930}
------------------------
pathfs.Inode
pathfs.Inode: Returning &{{0 0 0} 0 {0 0} [] 0xc420160ea0 0xc4200b46e0 map[] map[{0xc4201543f0 99b.txt}:{}] <nil>}
Exiting pathfs.Mknod. Child: &{{0 0 0} 0 {0 0} [] 0xc420160ea0 0xc4200b46e0 map[] map[{0xc4201543f0 99b.txt}:{}] <nil>}, Code: OK
------------------------
In pathfs.GetAttr
Out: {M00 SZ=0 L=0 0:0 B0*0 i0:0 A 0.000000000 M 0.000000000 C 0.000000000}
File: <nil>
Context: &{{0 0} 17984}
------------------------
pathfs.Inode
pathfs.Inode: Returning &{{0 0 0} 0 {0 0} [] 0xc420160ea0 0xc4200b46e0 map[] map[{0xc4201543f0 99b.txt}:{}] <nil>}
In pathfs.GetAttr: file == nil || code == fuse.ENOSYS || code == fuse.EBADF
------------------------
pathfs.Inode
pathfs.Inode: Returning &{{0 0 0} 0 {0 0} [] 0xc420160ea0 0xc4200b46e0 map[] map[{0xc4201543f0 99b.txt}:{}] <nil>}
------------------------
pathfs.Inode
pathfs.Inode: Returning &{{0 2 1} 0 {0 0} [] 0xc420095140 0xc4200b46e0 map[tmp:0xc42007a8c0] map[] 0xc4200b46e0}
GetAttr
Fileystem info for tmp/jose/99b.txt: {0 0 0 0 0 0 0 0 }
GetAttr FileStatus: {0 0 0 0 0 0 0 0 }
Does not exist: tmp/jose/99b.txt
In pathfs.GetAttr. Returning code 2=no such file or directory
------------------------
In pathfs.GetAttr
Out: {M00 SZ=0 L=1 0:0 B0*0 i0:6 A 0.000000000 M 0.000000000 C 0.000000000}
File: <nil>
Context: &{{0 0} 17984}
------------------------
pathfs.Inode
pathfs.Inode: Returning &{{0 6 1} 0 {0 0} [] 0xc420160ea0 0xc4200b46e0 map[] map[{0xc4201543f0 99b.txt}:{}] <nil>}
In pathfs.GetAttr: file == nil || code == fuse.ENOSYS || code == fuse.EBADF
------------------------
pathfs.Inode
pathfs.Inode: Returning &{{0 6 1} 0 {0 0} [] 0xc420160ea0 0xc4200b46e0 map[] map[{0xc4201543f0 99b.txt}:{}] <nil>}
------------------------
pathfs.Inode
pathfs.Inode: Returning &{{0 2 1} 0 {0 0} [] 0xc420095140 0xc4200b46e0 map[tmp:0xc42007a8c0] map[] 0xc4200b46e0}
GetAttr
Fileystem info for tmp/jose/99b.txt: {0 0 0 0 0 0 0 0 }
GetAttr FileStatus: {0 0 0 0 0 0 0 0 }
Does not exist: tmp/jose/99b.txt
In pathfs.GetAttr. Returning code 2=no such file or directory
20:47:03.980531 Serialize 15: MKNOD code: 2=no such file or directory value:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment