Can I use elasticsearch for data warehouse?

Can I use elasticsearch for data warehouse or HDFS is better option?