First, the reason your query gets no results is because the part where type(r)="Hadoop" and type(r)="hive"
says you are looking for an instance of r where r.type = "Hadoop" and "hive" simultaneously. Since r.type can only have one value at any time, it is impossible for it to equal Hadoop and Hive at the same time; so the statement can be logically simplified to "where false" or basically, drop all matches.
If you are looking for all nodes that have either relationship, than Satish Shinde's answer is the right way to specify it
match (n)-[:Hadoop|hive]-()
return n,count(n);
Or, with direction
match (n)-[:Hadoop|hive]->()
return n,count(n);
If you need BOTH to be present, than you need to match two separate relationship edges like follows
match ()-[:hive]-(n)-[:Hadoop]-()
return n,count(n);
Or, with direction
match ()<-[:hive]-(n)-[:Hadoop]->()
return n,count(n);
And for completeness, if you want to check both exist in a where close, you can use remigio's answer
start n=node(*) match ()-[r2]-(n)-[r1]-() where type(r1)="Hadoop" and type(r2)="hive" return n,count(n);