HDFS Datanode carbonistion code JIRA SS-405

HDFS Datanode carbinistion code with the discussed changes.
As a best practice, always compare the value of a variable against the constant value that's never going to be null. This would help avoid that additional null check around the variable "command" before calling "contains()" method upon it.