Faunus and Gremlin are close to each other in terms of purpose and functionality but not identical. The filter
isn't producing a side-effect, which will be written to HDFS. If you did:
g.V.filter("{it.bothE.hasNext()}").id
You could then view the list of ids matching that filter with something like:
hdfs.head('output',100)
to see the first 100 lines of the output. If you need more than just the element identifier you could do a transform
to get some of the element properties in there as well. You might find these hdfs
helper tips helpful.