chef/cookbooks/hadoop/attributes/core-site.rb
Line is too long. [113/100] (https://github.com/SUSE/style-guides/blob/master/Ruby.md#metricslinelength) Open
Open
default[:hadoop][:core][:hadoop_rpc_socket_factory_class_default] = "org.apache.hadoop.net.StandardSocketFactory"
- Create a ticketCreate a ticket
- Exclude checks
Line is too long. [114/100] (https://github.com/SUSE/style-guides/blob/master/Ruby.md#metricslinelength) Open
Open
default[:hadoop][:core][:hadoop_security_group_mapping] = "org.apache.hadoop.security.ShellBasedUnixGroupsMapping"
- Create a ticketCreate a ticket
- Exclude checks
The name of this source file (core-site.rb
) should use snake_case. (https://github.com/bbatsov/ruby-style-guide#snake-case-files) Open
Open
#
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
This cop makes sure that Ruby source files have snake_case names. Ruby scripts (i.e. source files with a shebang in the first line) are ignored.
Example:
# bad
lib/layoutManager.rb
anything/usingCamelCase
# good
lib/layout_manager.rb
anything/using_snake_case.rake
Line is too long. [101/100] (https://github.com/SUSE/style-guides/blob/master/Ruby.md#metricslinelength) Open
Open
default[:hadoop][:core][:io_serializations] = "org.apache.hadoop.io.serializer.WritableSerialization"
- Create a ticketCreate a ticket
- Exclude checks
Line is too long. [175/100] (https://github.com/SUSE/style-guides/blob/master/Ruby.md#metricslinelength) Open
Open
default[:hadoop][:core][:io_compression_codecs] = "org.apache.hadoop.io.compress.DefaultCodec,org.apache.hadoop.io.compress.GzipCodec,org.apache.hadoop.io.compress.BZip2Codec"
- Create a ticketCreate a ticket
- Exclude checks
Line is too long. [104/100] (https://github.com/SUSE/style-guides/blob/master/Ruby.md#metricslinelength) Open
Open
default[:hadoop][:core][:topology_node_switch_mapping_impl] = "org.apache.hadoop.net.ScriptBasedMapping"
- Create a ticketCreate a ticket
- Exclude checks