I'd be fairly surprised if there was a maximum allowed length. I can't see one digging around in the code.
Not really. They take up a bit more room in the heap and they hash a tiny bit slower but overall I don't think you'll notice anything unless you are intentionally making the names many kilobytes. They are just java strings internally.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.