How to get the default password

branch:master
commitid: 6b50cf75b3f

I compiled the ES from command ./gradlew localDistro

then started the server by bin/elasticsearch -d

then I got no password in logs/elasticsearch.log

I got an error when I typed bin/elasticsearch-reset-password -u elastic:
ERROR: Failed to determine the health of the cluster.
I cleaned the build path, and built again, reset command has worked.
Question is resolved.