I am using cassandra version 2.1.16. I have verfied that the cli.history files contains max 501 lines. However I dont see there is a limit for cqlsh_history file. Any idea on that.
cqlsh
uses the readline
Python module, and does not set a history length. By default, readline
does not limit the history file.
This assumes you're using CPython 2.7. If you have a different interpreter, you can examine the default using
python -c "import readline; print readline.get_history_length()"