Skip to content

Instantly share code, notes, and snippets.

@ermakovpetr
Created March 6, 2015 12:50
Show Gist options
  • Save ermakovpetr/ddc18ea79838a3db84d3 to your computer and use it in GitHub Desktop.
Save ermakovpetr/ddc18ea79838a3db84d3 to your computer and use it in GitHub Desktop.
last 100
ubuntu@ip-172-31-8-242:~$ hadoop fs -cat /users/numbers/result/* | sort | tail -100
49950 99
49951 97
49951 98
49952 95
49952 96
49953 93
49953 94
49954 91
49954 92
49955 89
49955 90
49956 87
49956 88
49957 85
49957 86
49958 83
49958 84
49959 81
49959 82
49960 79
49960 80
49961 77
49961 78
49962 75
49962 76
49963 73
49963 74
49964 71
49964 72
49965 69
49965 70
49966 67
49966 68
49967 65
49967 66
49968 63
49968 64
49969 61
49969 62
49970 59
49970 60
49971 57
49971 58
49972 55
49972 56
49973 53
49973 54
49974 51
49974 52
49975 49
49975 50
49976 47
49976 48
49977 45
49977 46
49978 43
49978 44
49979 41
49979 42
49980 39
49980 40
49981 37
49981 38
49982 35
49982 36
49983 33
49983 34
49984 31
49984 32
49985 29
49985 30
49986 27
49986 28
49987 25
49987 26
49988 23
49988 24
49989 21
49989 22
49990 19
49990 20
49991 17
49991 18
49992 15
49992 16
49993 13
49993 14
49994 11
49994 12
49995 10
49995 9
49996 7
49996 8
49997 5
49997 6
49998 3
49998 4
49999 1
49999 2
50000 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment