vi /etc/environment
add these lines...
LANG=en_US.utf-8
LC_ALL=en_US.utf-8
Alternatively,
| #!/bin/bash | |
| # Author: Kel Graham | |
| # Date: 2022-05-19 | |
| # Purpose: Increase the replication factor of one or more topics, using only | |
| # a connection to the Kafka broker (no Zookeeper, REST APIs etc) | |
| # and the standard kafka-topics, kafka-reassign-partitions scripts | |
| # that come with Kafka. | |
| # |
vi /etc/environmentadd these lines...
LANG=en_US.utf-8
LC_ALL=en_US.utf-8
Alternatively,
| cd ~ | |
| git clone https://github.com/google/googletest.git | |
| cd googletest | |
| mkdir build && cd build | |
| cmake .. -DBUILD_SHARED_LIBS=ON -DINSTALL_GTEST=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr | |
| make -j8 | |
| sudo make install | |
| sudo ldconfig |
People
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
| class CasandraSpec extends FunSuite | |
| with Eventually | |
| with BeforeAndAfterAll | |
| with LocalSparkContext | |
| with EmbeddedCassandra | |
| with Logging{ | |
| val testKeyspace = "test1" | |
| val testTable = "table1" | |
| var conn: CassandraConnector = _ |