| name | value | description |
| hadoop.job.history.location | | If job tracker is static the history files are stored
in this single well known place. If No value is set here, by default,
it is in the local file system at ${hadoop.log.dir}/history.
|
| hadoop.job.history.user.location | | User can specify a location to store the history files of
a particular job. If nothing is specified, the logs are stored in
output directory. The files are stored in "_logs/history/" in the directory.
User can stop logging by giving the value "none".
|
| mapred.job.tracker.history.completed.location | | The completed job history files are stored at this single well
known location. If nothing is specified, the files are stored at
${hadoop.job.history.location}/done.
|
| io.sort.factor | 10 | The number of streams to merge at once while sorting
files. This determines the number of open file handles. |
| io.sort.mb | 100 | The total amount of buffer memory to use while sorting
files, in megabytes. By default, gives each merge stream 1MB, which
should minimize seeks. |
| io.sort.record.percent | 0.05 | The percentage of io.sort.mb dedicated to tracking record
boundaries. Let this value be r, io.sort.mb be x. The maximum number
of records collected before the collection thread must block is equal
to (r * x) / 4 |
| io.sort.spill.percent | 0.80 | The soft limit in either the buffer or record collection
buffers. Once reached, a thread will begin to spill the contents to disk
in the background. Note that this does not imply any chunking of data to
the spill. A value less than 0.5 is not recommended. |
| io.map.index.skip | 0 | Number of index entries to skip between each entry.
Zero by default. Setting this to values larger than zero can
facilitate opening large map files using less memory. |
| mapred.job.tracker | local | The host and port that the MapReduce job tracker runs
at. If "local", then jobs are run in-process as a single map
and reduce task.
|
| mapred.job.tracker.http.address | <IP_ADDRESS>:50030 |
The job tracker http server address and port the server will listen on.
If the port is 0 then the server will start on a free port.
|
| mapred.job.tracker.handler.count | 10 |
The number of server threads for the JobTracker. This should be roughly
4% of the number of tasktracker nodes.
|
| mapred.task.tracker.report.address | <IP_ADDRESS>:0 | The interface and port that task tracker server listens on.
Since it is only connected to by the tasks, it uses the local interface.
EXPERT ONLY. Should only be changed if your host does not have the loopback
interface. |
| mapred.local.dir | ${hadoop.tmp.dir}/mapred/local | The local directory where MapReduce stores intermediate
data files. May be a comma-separated list of
directories on different devices in order to spread disk i/o.
Directories that do not exist are ignored.
|
| mapred.system.dir | ${hadoop.tmp.dir}/mapred/system | The directory where MapReduce stores control files.
|
| mapreduce.jobtracker.staging.root.dir | ${hadoop.tmp.dir}/mapred/staging | The root of the staging area for users' job files
In practice, this should be the directory where users' home
directories are located (usually /user)
|
| mapred.temp.dir | ${hadoop.tmp.dir}/mapred/temp | A shared directory for temporary files.
|
| mapred.local.dir.minspacestart | 0 | If the space in mapred.local.dir drops under this,
do not ask for more tasks.
Value in bytes.
|
| mapred.local.dir.minspacekill | 0 | If the space in mapred.local.dir drops under this,
do not ask more tasks until all the current ones have finished and
cleaned up. Also, to save the rest of the tasks we have running,
kill one of them, to clean up some space. Start with the reduce tasks,
then go with the ones that have finished the least.
Value in bytes.
|
| mapred.tasktracker.expiry.interval | 600000 | Expert: The time-interval, in miliseconds, after which
a tasktracker is declared 'lost' if it doesn't send heartbeats.
|
| mapred.tasktracker.resourcecalculatorplugin | |
Name of the class whose instance will be used to query resource information
on the tasktracker.
The class must be an instance of
org.apache.hadoop.util.ResourceCalculatorPlugin. If the value is null, the
tasktracker attempts to use a class appropriate to the platform.
Currently, the only platform supported is Linux.
|
| mapred.tasktracker.taskmemorymanager.monitoring-interval | 5000 | The interval, in milliseconds, for which the tasktracker waits
between two cycles of monitoring its tasks' memory usage. Used only if
tasks' memory management is enabled via mapred.tasktracker.tasks.maxmemory.
|
| mapred.tasktracker.tasks.sleeptime-before-sigkill | 5000 | The time, in milliseconds, the tasktracker waits for sending a
SIGKILL to a process, after it has been sent a SIGTERM. |
| mapred.map.tasks | 2 | The default number of map tasks per job.
Ignored when mapred.job.tracker is "local".
|
| mapred.reduce.tasks | 1 | The default number of reduce tasks per job. Typically set to 99%
of the cluster's reduce capacity, so that if a node fails the reduces can
still be executed in a single wave.
Ignored when mapred.job.tracker is "local".
|
| mapreduce.tasktracker.outofband.heartbeat | false | Expert: Set this to true to let the tasktracker send an
out-of-band heartbeat on task-completion for better latency.
|
| mapreduce.tasktracker.outofband.heartbeat.damper | 1000000 | When out-of-band heartbeats are enabled, provides
damping to avoid overwhelming the JobTracker if too many out-of-band
heartbeats would occur. The damping is calculated such that the
heartbeat interval is divided by (T*D + 1) where T is the number
of completed tasks and D is the damper value.
Setting this to a high value like the default provides no damping --
as soon as any task finishes, a heartbeat will be sent. Setting this
parameter to 0 is equivalent to disabling the out-of-band heartbeat feature.
A value of 1 would indicate that, after one task has completed, the
time to wait before the next heartbeat would be 1/2 the usual time.
After two tasks have finished, it would be 1/3 the usual time, etc.
|
| mapred.jobtracker.restart.recover | false | "true" to enable (job) recovery upon restart,
"false" to start afresh
|
| mapred.jobtracker.job.history.block.size | 3145728 | The block size of the job history file. Since the job recovery
uses job history, its important to dump job history to disk as
soon as possible. Note that this is an expert level parameter.
The default value is set to 3 MB.
|
| mapreduce.job.split.metainfo.maxsize | 10000000 | The maximum permissible size of the split metainfo file.
The JobTracker won't attempt to read split metainfo files bigger than
the configured value.
No limits if set to -1.
|
| mapred.jobtracker.taskScheduler | org.apache.hadoop.mapred.JobQueueTaskScheduler | The class responsible for scheduling the tasks. |
| mapred.jobtracker.taskScheduler.maxRunningTasksPerJob | | The maximum number of running tasks for a job before
it gets preempted. No limits if undefined.
|
| mapred.map.max.attempts | 4 | Expert: The maximum number of attempts per map task.
In other words, framework will try to execute a map task these many number
of times before giving up on it.
|
| mapred.reduce.max.attempts | 4 | Expert: The maximum number of attempts per reduce task.
In other words, framework will try to execute a reduce task these many number
of times before giving up on it.
|
| mapred.reduce.parallel.copies | 5 | The default number of parallel transfers run by reduce
during the copy(shuffle) phase.
|
| mapreduce.reduce.shuffle.maxfetchfailures | 10 | The maximum number of times a reducer tries to
fetch a map output before it reports it.
|
| mapreduce.reduce.shuffle.connect.timeout | 180000 | Expert: The maximum amount of time (in milli seconds) a reduce
task spends in trying to connect to a tasktracker for getting map output.
|
| mapreduce.reduce.shuffle.read.timeout | 180000 | Expert: The maximum amount of time (in milli seconds) a reduce
task waits for map output data to be available for reading after obtaining
connection.
|
| mapred.task.timeout | 600000 | The number of milliseconds before a task will be
terminated if it neither reads an input, writes an output, nor
updates its status string.
|
| mapred.tasktracker.map.tasks.maximum | 2 | The maximum number of map tasks that will be run
simultaneously by a task tracker.
|
| mapred.tasktracker.reduce.tasks.maximum | 2 | The maximum number of reduce tasks that will be run
simultaneously by a task tracker.
|
| mapred.jobtracker.completeuserjobs.maximum | 100 | The maximum number of complete jobs per user to keep around
before delegating them to the job history. |
| mapreduce.reduce.input.limit | -1 | The limit on the input size of the reduce. If the estimated
input size of the reduce is greater than this value, job is failed. A
value of -1 means that there is no limit set. |
| mapred.job.tracker.retiredjobs.cache.size | 1000 | The number of retired job status to keep in the cache.
|
| mapred.job.tracker.jobhistory.lru.cache.size | 5 | The number of job history files loaded in memory. The jobs are
loaded when they are first accessed. The cache is cleared based on LRU.
|
| mapred.child.java.opts | -Xmx200m | Java opts for the task tracker child processes.
The following symbol, if present, will be interpolated: @taskid@ is replaced
by current TaskID. Any other occurrences of '@' will go unchanged.
For example, to enable verbose gc logging to a file named for the taskid in
/tmp and to set the heap maximum to be a gigabyte, pass a 'value' of:
-Xmx1024m -verbose:gc -Xloggc:/tmp/<EMAIL_ADDRESS>The configuration variable mapred.child.ulimit can be used to control the
maximum virtual memory of the child processes.
|
| mapred.child.env | | User added environment variables for the task tracker child
processes. Example :
1) A=foo This will set the env variable A to foo
2) B=$B:c This is inherit tasktracker's B env variable.
|
| mapred.child.ulimit | | The maximum virtual memory, in KB, of a process launched by the
Map-Reduce framework. This can be used to control both the Mapper/Reducer
tasks and applications using Hadoop Pipes, Hadoop Streaming etc.
By default it is left unspecified to let cluster admins control it via
limits.conf and other such relevant mechanisms.
Note: mapred.child.ulimit must be greater than or equal to the -Xmx passed to
JavaVM, else the VM might not start.
|
| mapred.cluster.map.memory.mb | -1 | The size, in terms of virtual memory, of a single map slot
in the Map-Reduce framework, used by the scheduler.
A job can ask for multiple slots for a single map task via
mapred.job.map.memory.mb, upto the limit specified by
mapred.cluster.max.map.memory.mb, if the scheduler supports the feature.
The value of -1 indicates that this feature is turned off.
|
| mapred.cluster.reduce.memory.mb | -1 | The size, in terms of virtual memory, of a single reduce slot
in the Map-Reduce framework, used by the scheduler.
A job can ask for multiple slots for a single reduce task via
mapred.job.reduce.memory.mb, upto the limit specified by
mapred.cluster.max.reduce.memory.mb, if the scheduler supports the feature.
The value of -1 indicates that this feature is turned off.
|
| mapred.cluster.max.map.memory.mb | -1 | The maximum size, in terms of virtual memory, of a single map
task launched by the Map-Reduce framework, used by the scheduler.
A job can ask for multiple slots for a single map task via
mapred.job.map.memory.mb, upto the limit specified by
mapred.cluster.max.map.memory.mb, if the scheduler supports the feature.
The value of -1 indicates that this feature is turned off.
|
| mapred.cluster.max.reduce.memory.mb | -1 | The maximum size, in terms of virtual memory, of a single reduce
task launched by the Map-Reduce framework, used by the scheduler.
A job can ask for multiple slots for a single reduce task via
mapred.job.reduce.memory.mb, upto the limit specified by
mapred.cluster.max.reduce.memory.mb, if the scheduler supports the feature.
The value of -1 indicates that this feature is turned off.
|
| mapred.job.map.memory.mb | -1 | The size, in terms of virtual memory, of a single map task
for the job.
A job can ask for multiple slots for a single map task, rounded up to the
next multiple of mapred.cluster.map.memory.mb and upto the limit
specified by mapred.cluster.max.map.memory.mb, if the scheduler supports
the feature.
The value of -1 indicates that this feature is turned off iff
mapred.cluster.map.memory.mb is also turned off (-1).
|
| mapred.job.reduce.memory.mb | -1 | The size, in terms of virtual memory, of a single reduce task
for the job.
A job can ask for multiple slots for a single map task, rounded up to the
next multiple of mapred.cluster.reduce.memory.mb and upto the limit
specified by mapred.cluster.max.reduce.memory.mb, if the scheduler supports
the feature.
The value of -1 indicates that this feature is turned off iff
mapred.cluster.reduce.memory.mb is also turned off (-1).
|
| mapred.child.tmp | ./tmp | To set the value of tmp directory for map and reduce tasks.
If the value is an absolute path, it is directly assigned. Otherwise, it is
prepended with task's working directory. The java tasks are executed with
option -Djava.io.tmpdir='the absolute path of the tmp dir'. Pipes and
streaming are set with environment variable,
TMPDIR='the absolute path of the tmp dir'
|
| mapred.inmem.merge.threshold | 1000 | The threshold, in terms of the number of files
for the in-memory merge process. When we accumulate threshold number of files
we initiate the in-memory merge and spill to disk. A value of 0 or less than
0 indicates we want to DON'T have any threshold and instead depend only on
the ramfs's memory consumption to trigger the merge.
|
| mapred.job.shuffle.merge.percent | 0.66 | The usage threshold at which an in-memory merge will be
initiated, expressed as a percentage of the total memory allocated to
storing in-memory map outputs, as defined by
mapred.job.shuffle.input.buffer.percent.
|
| mapred.job.shuffle.input.buffer.percent | 0.70 | The percentage of memory to be allocated from the maximum heap
size to storing map outputs during the shuffle.
|
| mapred.job.reduce.input.buffer.percent | 0.0 | The percentage of memory- relative to the maximum heap size- to
retain map outputs during the reduce. When the shuffle is concluded, any
remaining map outputs in memory must consume less than this threshold before
the reduce can begin.
|
| mapred.map.tasks.speculative.execution | true | If true, then multiple instances of some map tasks
may be executed in parallel. |
| mapred.reduce.tasks.speculative.execution | true | If true, then multiple instances of some reduce tasks
may be executed in parallel. |
| mapred.job.reuse.jvm.num.tasks | 1 | How many tasks to run per jvm. If set to -1, there is
no limit.
|
| mapred.min.split.size | 0 | The minimum size chunk that map input should be split
into. Note that some file formats may have minimum split sizes that
take priority over this setting. |
| mapred.jobtracker.maxtasks.per.job | -1 | The maximum number of tasks for a single job.
A value of -1 indicates that there is no maximum. |
| mapred.submit.replication | 10 | The replication level for submitted job files. This
should be around the square root of the number of nodes.
|
| mapred.tasktracker.dns.interface | default | The name of the Network Interface from which a task
tracker should report its IP address.
|
| mapred.tasktracker.dns.nameserver | default | The host name or IP address of the name server (DNS)
which a TaskTracker should use to determine the host name used by
the JobTracker for communication and display purposes.
|
| tasktracker.http.threads | 40 | The number of worker threads that for the http server. This is
used for map output fetching
|
| mapred.task.tracker.http.address | <IP_ADDRESS>:50060 |
The task tracker http server address and port.
If the port is 0 then the server will start on a free port.
|
| keep.failed.task.files | false | Should the files for failed tasks be kept. This should only be
used on jobs that are failing, because the storage is never
reclaimed. It also prevents the map outputs from being erased
from the reduce directory as they are consumed. |
| mapred.output.compress | false | Should the job outputs be compressed?
|
| mapred.output.compression.type | RECORD | If the job outputs are to compressed as SequenceFiles, how should
they be compressed? Should be one of NONE, RECORD or BLOCK.
|
| mapred.output.compression.codec | org.apache.hadoop.io.compress.DefaultCodec | If the job outputs are compressed, how should they be compressed?
|
| mapred.compress.map.output | false | Should the outputs of the maps be compressed before being
sent across the network. Uses SequenceFile compression.
|
| mapred.map.output.compression.codec | org.apache.hadoop.io.compress.DefaultCodec | If the map outputs are compressed, how should they be
compressed?
|
| map.sort.class | org.apache.hadoop.util.QuickSort | The default sort class for sorting keys.
|
| mapred.userlog.limit.kb | 0 | The maximum size of user-logs of each task in KB. 0 disables the cap.
|
| mapred.userlog.retain.hours | 24 | The maximum time, in hours, for which the user-logs are to be
retained after the job completion.
|
| mapred.user.jobconf.limit | 5242880 | The maximum allowed size of the user jobconf. The
default is set to 5 MB |
| mapred.hosts | | Names a file that contains the list of nodes that may
connect to the jobtracker. If the value is empty, all hosts are
permitted. |
| mapred.hosts.exclude | | Names a file that contains the list of hosts that
should be excluded by the jobtracker. If the value is empty, no
hosts are excluded. |
| mapred.heartbeats.in.second | 100 | Expert: Approximate number of heart-beats that could arrive
at JobTracker in a second. Assuming each RPC can be processed
in 10msec, the default value is made 100 RPCs in a second.
|
| mapred.max.tracker.blacklists | 4 | The number of blacklists for a tasktracker by various jobs
after which the tasktracker will be marked as potentially
faulty and is a candidate for graylisting across all jobs.
(Unlike blacklisting, this is advisory; the tracker remains
active. However, it is reported as graylisted in the web UI,
with the expectation that chronically graylisted trackers
will be manually decommissioned.) This value is tied to
mapred.jobtracker.blacklist.fault-timeout-window; faults
older than the window width are forgiven, so the tracker
will recover from transient problems. It will also become
healthy after a restart.
|
| mapred.jobtracker.blacklist.fault-timeout-window | 180 | The timeout (in minutes) after which per-job tasktracker
faults are forgiven. The window is logically a circular
buffer of time-interval buckets whose width is defined by
mapred.jobtracker.blacklist.fault-bucket-width; when the
"now" pointer moves across a bucket boundary, the previous
contents (faults) of the new bucket are cleared. In other
words, the timeout's granularity is determined by the bucket
width.
|
| mapred.jobtracker.blacklist.fault-bucket-width | 15 | The width (in minutes) of each bucket in the tasktracker
fault timeout window. Each bucket is reused in a circular
manner after a full timeout-window interval (defined by
mapred.jobtracker.blacklist.fault-timeout-window).
|
| mapred.max.tracker.failures | 4 | The number of task-failures on a tasktracker of a given job
after which new tasks of that job aren't assigned to it.
|
| jobclient.output.filter | FAILED | The filter for controlling the output of the task's userlogs sent
to the console of the JobClient.
The permissible options are: NONE, KILLED, FAILED, SUCCEEDED and
ALL.
|
| mapred.job.tracker.persist.jobstatus.active | false | Indicates if persistency of job status information is
active or not.
|
| mapred.job.tracker.persist.jobstatus.hours | 0 | The number of hours job status information is persisted in DFS.
The job status information will be available after it drops of the memory
queue and between jobtracker restarts. With a zero value the job status
information is not persisted at all in DFS.
|
| mapred.job.tracker.persist.jobstatus.dir | /jobtracker/jobsInfo | The directory where the job status information is persisted
in a file system to be available after it drops of the memory queue and
between jobtracker restarts.
|
| mapreduce.job.complete.cancel.delegation.tokens | true | if false - do not unregister/cancel delegation tokens
from renewal, because same tokens may be used by spawned jobs
|
| mapred.task.profile | false | To set whether the system should collect profiler
information for some of the tasks in this job? The information is stored
in the user log directory. The value is "true" if task profiling
is enabled. |
| mapred.task.profile.maps | 0-2 | To set the ranges of map tasks to profile.
mapred.task.profile has to be set to true for the value to be accounted.
|
| mapred.task.profile.reduces | 0-2 | To set the ranges of reduce tasks to profile.
mapred.task.profile has to be set to true for the value to be accounted.
|
| mapred.line.input.format.linespermap | 1 | Number of lines per split in NLineInputFormat.
|
| mapred.skip.attempts.to.start.skipping | 2 | The number of Task attempts AFTER which skip mode
will be kicked off. When skip mode is kicked off, the
tasks reports the range of records which it will process
next, to the TaskTracker. So that on failures, TT knows which
ones are possibly the bad records. On further executions,
those are skipped.
|
| mapred.skip.map.auto.incr.proc.count | true | The flag which if set to true,
SkipBadRecords.COUNTER_MAP_PROCESSED_RECORDS is incremented
by MapRunner after invoking the map function. This value must be set to
false for applications which process the records asynchronously
or buffer the input records. For example streaming.
In such cases applications should increment this counter on their own.
|
| mapred.skip.reduce.auto.incr.proc.count | true | The flag which if set to true,
SkipBadRecords.COUNTER_REDUCE_PROCESSED_GROUPS is incremented
by framework after invoking the reduce function. This value must be set to
false for applications which process the records asynchronously
or buffer the input records. For example streaming.
In such cases applications should increment this counter on their own.
|
| mapred.skip.out.dir | | If no value is specified here, the skipped records are
written to the output directory at _logs/skip.
User can stop writing skipped records by giving the value "none".
|
| mapred.skip.map.max.skip.records | 0 | The number of acceptable skip records surrounding the bad
record PER bad record in mapper. The number includes the bad record as well.
To turn the feature of detection/skipping of bad records off, set the
value to 0.
The framework tries to narrow down the skipped range by retrying
until this threshold is met OR all attempts get exhausted for this task.
Set the value to Long.MAX_VALUE to indicate that framework need not try to
narrow down. Whatever records(depends on application) get skipped are
acceptable.
|
| mapred.skip.reduce.max.skip.groups | 0 | The number of acceptable skip groups surrounding the bad
group PER bad group in reducer. The number includes the bad group as well.
To turn the feature of detection/skipping of bad groups off, set the
value to 0.
The framework tries to narrow down the skipped range by retrying
until this threshold is met OR all attempts get exhausted for this task.
Set the value to Long.MAX_VALUE to indicate that framework need not try to
narrow down. Whatever groups(depends on application) get skipped are
acceptable.
|
| job.end.retry.attempts | 0 | Indicates how many times hadoop should attempt to contact the
notification URL |
| job.end.retry.interval | 30000 | Indicates time in milliseconds between notification URL retry
calls |
| hadoop.rpc.socket.factory.class.JobSubmissionProtocol | | SocketFactory to use to connect to a Map/Reduce master
(JobTracker). If null or empty, then use hadoop.rpc.socket.class.default.
|
| mapred.task.cache.levels | 2 | This is the max level of the task cache. For example, if
the level is 2, the tasks cached are at the host level and at the rack
level.
|
| mapred.queue.names | default | Comma separated list of queues configured for this jobtracker.
Jobs are added to queues and schedulers can configure different
scheduling properties for the various queues. To configure a property
for a queue, the name of the queue must match the name specified in this
value. Queue properties that are common to all schedulers are configured
here with the naming convention, mapred.queue.$QUEUE-NAME.$PROPERTY-NAME,
for e.g. mapred.queue.default.submit-job-acl.
The number of queues configured in this parameter could depend on the
type of scheduler being used, as specified in
mapred.jobtracker.taskScheduler. For example, the JobQueueTaskScheduler
supports only a single queue, which is the default configured here.
Before adding more queues, ensure that the scheduler you've configured
supports multiple queues.
|
| mapred.acls.enabled | false | Specifies whether ACLs should be checked
for authorization of users for doing various queue and job level operations.
ACLs are disabled by default. If enabled, access control checks are made by
JobTracker and TaskTracker when requests are made by users for queue
operations like submit job to a queue and kill a job in the queue and job
operations like viewing the job-details (See mapreduce.job.acl-view-job)
or for modifying the job (See mapreduce.job.acl-modify-job) using
Map/Reduce APIs, RPCs or via the console and web user interfaces.
|
| mapred.queue.default.state | RUNNING |
This values defines the state , default queue is in.
the values can be either "STOPPED" or "RUNNING"
This value can be changed at runtime.
|
| mapred.job.queue.name | default | Queue to which a job is submitted. This must match one of the
queues defined in mapred.queue.names for the system. Also, the ACL setup
for the queue must allow the current user to submit a job to the queue.
Before specifying a queue, ensure that the system is configured with
the queue, and access is allowed for submitting jobs to the queue.
|
| mapreduce.job.acl-modify-job | | Job specific access-control list for 'modifying' the job. It
is only used if authorization is enabled in Map/Reduce by setting the
configuration property mapred.acls.enabled to true.
This specifies the list of users and/or groups who can do modification
operations on the job. For specifying a list of users and groups the
format to use is "user1,user2 group1,group". If set to '*', it allows all
users/groups to modify this job. If set to ' '(i.e. space), it allows
none. This configuration is used to guard all the modifications with respect
to this job and takes care of all the following operations:
o killing this job
o killing a task of this job, failing a task of this job
o setting the priority of this job
Each of these operations are also protected by the per-queue level ACL
"acl-administer-jobs" configured via mapred-queues.xml. So a caller should
have the authorization to satisfy either the queue-level ACL or the
job-level ACL.
Irrespective of this ACL configuration, job-owner, the user who started the
cluster, cluster administrators configured via
mapreduce.cluster.administrators and queue administrators of the queue to
which this job is submitted to configured via
mapred.queue.queue-name.acl-administer-jobs in mapred-queue-acls.xml can
do all the modification operations on a job.
By default, nobody else besides job-owner, the user who started the cluster,
cluster administrators and queue administrators can perform modification
operations on a job.
|
| mapreduce.job.acl-view-job | | Job specific access-control list for 'viewing' the job. It is
only used if authorization is enabled in Map/Reduce by setting the
configuration property mapred.acls.enabled to true.
This specifies the list of users and/or groups who can view private details
about the job. For specifying a list of users and groups the
format to use is "user1,user2 group1,group". If set to '*', it allows all
users/groups to modify this job. If set to ' '(i.e. space), it allows
none. This configuration is used to guard some of the job-views and at
present only protects APIs that can return possibly sensitive information
of the job-owner like
o job-level counters
o task-level counters
o tasks' diagnostic information
o task-logs displayed on the TaskTracker web-UI and
o job.xml showed by the JobTracker's web-UI
Every other piece of information of jobs is still accessible by any other
user, for e.g., JobStatus, JobProfile, list of jobs in the queue, etc.
Irrespective of this ACL configuration, job-owner, the user who started the
cluster, cluster administrators configured via
mapreduce.cluster.administrators and queue administrators of the queue to
which this job is submitted to configured via
mapred.queue.queue-name.acl-administer-jobs in mapred-queue-acls.xml can do
all the view operations on a job.
By default, nobody else besides job-owner, the user who started the
cluster, cluster administrators and queue administrators can perform
view operations on a job.
|
| mapred.tasktracker.indexcache.mb | 10 | The maximum memory that a task tracker allows for the
index cache that is used when serving map outputs to reducers.
|
| mapred.combine.recordsBeforeProgress | 10000 | The number of records to process during combine output collection
before sending a progress notification to the TaskTracker.
|
| mapred.merge.recordsBeforeProgress | 10000 | The number of records to process during merge before
sending a progress notification to the TaskTracker.
|
| mapred.reduce.slowstart.completed.maps | 0.05 | Fraction of the number of maps in the job which should be
complete before reduces are scheduled for the job.
|
| mapred.task.tracker.task-controller | org.apache.hadoop.mapred.DefaultTaskController | TaskController which is used to launch and manage task execution
|
| mapreduce.tasktracker.group | | Expert: Group to which TaskTracker belongs. If
LinuxTaskController is configured via mapreduce.tasktracker.taskcontroller,
the group owner of the task-controller binary should be same as this group.
|
| mapred.healthChecker.script.path | | Absolute path to the script which is
periodicallyrun by the node health monitoring service to determine if
the node is healthy or not. If the value of this key is empty or the
file does not exist in the location configured here, the node health
monitoring service is not started. |
| mapred.healthChecker.interval | 60000 | Frequency of the node health script to be run,
in milliseconds |
| mapred.healthChecker.script.timeout | 600000 | Time after node health script should be killed if
unresponsive and considered that the script has failed. |
| mapred.healthChecker.script.args | | List of arguments which are to be passed to
node health script when it is being launched comma seperated.
|
| mapreduce.job.counters.limit | 120 | Limit on the number of counters allowed per job.
|


home page
Heroic deeds
Major glory
Memorial building
Entry atlas
Entry atlas
Statue of Qiu Shaoyun
Monument to the Martyrs of Qiu Shaoyun
Suspected Qiu Shaoyun Proof Photo and Signature on Back of Photo


Annotation Type PermazenType
-
@Retention(RUNTIME) @Target({ANNOTATION_TYPE,TYPE}) @Documented public @interface PermazenType
Java annotation for Java classes that arePermazen
object model types.Model classes may be POJO's,
abstract
classes, or interfaces, and the Java bean getter methods therein define database fields; Permazen generates concrete subclasses of each model class at runtime. Model classes must have a zero-arg constructor with at leastprotected
access.The following annotations on the getter methods of a
@PermazenType
-annotated class configure database fields:@JField
- defines a simple value, reference, orCounter
field@JSetField
- defines aNavigableSet
field@JListField
- defines aList
field@JMapField
- defines aNavigableMap
field
By default, database fields are created automatically for all abstract getter methods, so no annotations are required. To override the defaults, or define database fields for non-abstract getter methods, add the appropriate
@JField
,@JSetField
,@JListField
, or@JMapField
annotation.These annotations are also supported on the methods in a
@PermazenType
-annotated class:@OnChange
- annotates a method to be invoked when some field (possibly seen through a path of references) changes@OnCreate
- annotates a method to be invoked just after object creation@OnDelete
- annotates a method to be invoked just prior to object deletion@OnValidate
- annotates a method to be invoked whenever the object is (re)validated@OnVersionChange
- annotates a method to be invoked when the object's schema version changes@FollowPath
- annotates a method returning objects found by traversing aReferencePath
Annotations are "inherited", meaning they may be present on any overridden supertype method, including methods in superclasses and superinterfaces (whether or not annotated with
@PermazenType
).JObject
interfaceThe subclass of any
@PermazenType
-annotated model class that is generated byPermazen
will implementJObject
, so the (abstract) model classes may be declared that way.Indexing
Indexes on simple fields and collection fields are declared via
JField.indexed()
.Composite indexes are declared by annotating any supertype of a
@PermazenType
-annotated class with one or more@JCompositeIndex
annotations.Meta-Annotations
This annotation may be configured indirectly as a Spring meta-annotation when
spring-core
is on the classpath.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
autogenAllowDeleted
Configure the default for the@JField.allowDeleted()
property for auto-generated reference fields.boolean
autogenAllowDeletedSnapshot
Configure the default for the@JField.allowDeletedSnapshot()
property for auto-generated reference fields.boolean
autogenFields
Whether to automatically generate database fields from un-annotated abstract Java bean methods.boolean
autogenNonAbstract
Whether to automatically generate database fields even from non-abstract Java bean methods.UpgradeConversionPolicy
autogenUpgradeConversion
Configure the default for the@JField.upgradeConversion()
property for auto-generated reference fields.String
name
The name of this object type.int
storageId
Storage ID for this object type.
-
-
-
Element Detail
-
name
String name
The name of this object type.If equal to the empty string (default value), the simple name of the annotated Java class is used.
- Returns:
- object type name
- Default:
- ""
-
-
-
storageId
int storageId
Storage ID for this object type. Value should be positive; if zero, the configuredStorageIdGenerator
will be consulted to auto-generate a value.- Returns:
- object type storage ID
- See Also:
StorageIdGenerator.generateClassStorageId()
- Default:
- 0
-
-
-
autogenFields
boolean autogenFields
Whether to automatically generate database fields from un-annotated abstract Java bean methods.If true, database fields will be auto-generated corresponding to all abstract bean property getter methods, even if there is no
@JField
,@JSetField
,@JListField
, or@JMapField
annotation. Note this includes superclass and interface methods. Methods must be eitherpublic
orprotected
. In the case of simple fields, there must also be a corresponding setter method.Getter methods with return type assignable to
Set
,List
, andMap
will cause the corresponding collection fields to be created; other getter/setter method pairs will cause the corresponding simple fields to be generated. Auto-generation of storage ID's is performed by the configuredStorageIdGenerator
.A
@JTransient
annotation on the getter method, or any overridden superclass method, disables this auto-generation for that particular method (this is only useful when applied to non-abstract methods, and therefore whenautogenNonAbstract()
is true: if applied to any abstract methods, the auto-generated database subclass wouldn't be instantiable at runtime).- Returns:
- whether to auto-generate fields from abstract methods
- See Also:
autogenNonAbstract()
,PermazenFactory.setStorageIdGenerator()
- Default:
- true
-
-
-
autogenNonAbstract
boolean autogenNonAbstract
Whether to automatically generate database fields even from non-abstract Java bean methods.If
autogenFields()
is false, this property is ignored. Otherwise, database fields will be auto-generated corresponding to all bean property getter methods, whether or not marked abstract, unless there is a@JTransient
annotation.- Returns:
- whether to auto-generate fields from non-abstract methods when
autogenFields()
is true - See Also:
autogenFields()
,JTransient
- Default:
- false
-
-
-
autogenAllowDeleted
boolean autogenAllowDeleted
Configure the default for the@JField.allowDeleted()
property for auto-generated reference fields.If
autogenFields()
is false, this property is ignored. Otherwise, if this property is true, any auto-generated reference fields will allow assignment to deleted objects in normal transactions. In other words, they will behave as if they had a@JField
annotation withJField.allowDeleted()
set to true.- Returns:
- whether auto-generated reference fields should allow assignment to a deleted object in normal transactions
- See Also:
JField.allowDeleted()
- Default:
- false
-
-
-
autogenAllowDeletedSnapshot
boolean autogenAllowDeletedSnapshot
Configure the default for the@JField.allowDeletedSnapshot()
property for auto-generated reference fields.If
autogenFields()
is false, this property is ignored. Otherwise, if this property is true, any auto-generated reference fields will allow assignment to deleted objects in snapshot transactions. In other words, they will behave as if they had a@JField
annotation withJField.allowDeletedSnapshot()
set to true.- Returns:
- whether auto-generated reference fields should allow assignment to a deleted object in snapshot transactions
- See Also:
JField.allowDeletedSnapshot()
- Default:
- true
-
-
-
autogenUpgradeConversion
UpgradeConversionPolicy autogenUpgradeConversion
Configure the default for the@JField.upgradeConversion()
property for auto-generated reference fields.If
autogenFields()
is false, this property is ignored. Otherwise, any auto-generated fields will have the specifiedUpgradeConversionPolicy
applied when upgrading an object from some other schema version to the current schema version.- Returns:
- type conversion policy for auto-generated fields
- See Also:
JField.upgradeConversion()
- Default:
- io.permazen.UpgradeConversionPolicy.ATTEMPT
-
-


Hello everyone,you have to agree on my nature before looking for my profile. Click on confirm to continue
confirm
I am a grad student at RajKumar Goel Institute of technology, Ghaziabad where I am pursuing a Bachelor's degree
in Computer Science.My research interests are mainly focus on java and Kotlin.
I am involved in various college level co-curricular activities and love event management. .
Puneet Gupta
RKGIT Ghaziabad
UP 201003
<EMAIL_ADDRESS>B.Tech. in Computer Science & Engineering • June 2018 • India
Central Board of Secondary Education • April 2014 • India
Core Team • January 2017 - Present
Program Co-ordinator • September 2016 - July 2017
This is a web application for providing information regarding college annual fest
link: Kalrav'17
This is a web application for providing facilties like booking appointments,saving medical records,reading articles,get to know about medicines,doctor reviews by the patients and get to know about doctor on the basis of location and requirement.
This is a web application for providing facility of shopping online
This is a android application which consist of login,signup,calculator,musicplayer,selfpaced quiz and a mobile browser
Your work is going to fill a large part of your life, and the only way to be truly satisfied is
to do what you believe is great work.
And the only way to do great work is to love what you do.
Steve Jobs


400: Invalid request
{%- gist %}
To include a single file just add the file name after the gist ID: {% gist 3c466b... Hello%20World.java %} or {% gist 3c466b... hello.py %}
{% gist 3c466b... Hello%20World.java %}
{% gist 3c466b... hello.py %}


Components
When used carefully and consistently, components are powerful tool that can help us to create a constant and credible brand style.
Typography
Headings
h1. Heading 1
h2. Heading 2
h3. Heading 3
h4. Heading 4
h5. Heading 5
h6. Heading 6
Body copy
Therefore, there are many other ways that may signal that you are doing a good job with your blog/website is content. You must define your goals and the measures that will let you know if you are on the right track. And even then you must be careful how you interpret those numbers. If the traffic is going down, you can not just intepret it as the decline in your blog is quality. Maybe there is another explanation for that. What changed and why?
Lead body copy
Therefore, there are many other ways that may signal that you are doing a good job with your blog/website content. You mustdefine your goals and the measures that will let you know if you are on the right track.
Emphasize
I see Quora as a type of blogging. A potential reader has a question and the blogger answers that question.
Blockquote
The world makes way for the man who knows where he is going.
Source Title
Post question
Links and lists
Unordered list
- if you know what your goal is
- why your brand opened the blog in the first place
- if you know your target audience well
- if you measure the success of your blog and adapt as you go
- why your brand opened the blog in the first place
- if you know your target audience well
- if you know what your goal is
Unordered blog list
- Add Images to Your Posts
- Is Blogging Still Relevant?
- Linking out is good!
- Take Advantage of Your Existing Content!
Links
Forms
Input form
form
Newsletter
Buttons
Button sizes
Button options
Alerts
Change a few things up and try submitting again.


Max API Documentation
You should have been automatically forwarded, but something has gotten snagged. Please click the link below to keep on moving: Max API Roadmap


--- layout: hackathon ---
The Hackathon is the flagship event of the UQ Computing Society. It was to be first run in 2014, following significant interest from members over the past few years. This year will be our 4th Hackathon, after a huge amount of positive feedback from previous participants.
Teams will compete across a weekend to develop an application, before entering them in one or more categories for judging. Teams may like to develop a game, a new smartphone app to help students, or use an existing dataset and turn it into an easier to use format. The best thing about Hackathon is that you get to do whatever you want, to show of your design and/or coding ability.
A number of mentors will be on hand throughout the weekend to assist with the development process. These will include students and industry representatives, knowledgable in many different areas.
More importantly, we will be have plenty of lollies and chips available during the day, to make sure you are fuelled for the task ahead. Not to mention the end of competition dinner - a great way to wind down with other participants at the end of an intense weekend!
A number of prize categories will be available for the competition. These and other details will be announced closer to the date.


Interface RecognitionConfigOrBuilder (2.0.0)
public interface RecognitionConfigOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAdaptation()
public abstract SpeechAdaptation getAdaptation()
Speech adaptation configuration improves the accuracy of speech
recognition. When speech adaptation is set it supersedes the
speech_contexts
field. For more information, see the speech
adaptation
documentation.
.google.cloud.speech.v1p1beta1.SpeechAdaptation adaptation = 20;
| Type | Description |
| SpeechAdaptation | The adaptation. |
getAdaptationOrBuilder()
public abstract SpeechAdaptationOrBuilder getAdaptationOrBuilder()
Speech adaptation configuration improves the accuracy of speech
recognition. When speech adaptation is set it supersedes the
speech_contexts
field. For more information, see the speech
adaptation
documentation.
.google.cloud.speech.v1p1beta1.SpeechAdaptation adaptation = 20;
| Type | Description |
| SpeechAdaptationOrBuilder |
getAlternativeLanguageCodes(int index)
public abstract String getAlternativeLanguageCodes(int index)
A list of up to 3 additional BCP-47 language tags, listing possible alternative languages of the supplied audio. See Language Support for a list of the currently supported language codes. If alternative languages are listed, recognition result will contain recognition in the most likely language detected including the main language_code. The recognition result will include the language tag of the language detected in the audio. Note: This feature is only supported for Voice Command and Voice Search use cases and performance may vary for other use cases (e.g., phone call transcription).
repeated string alternative_language_codes = 18;
| Name | Description |
| index | int The index of the element to return. |
| Type | Description |
| String | The alternativeLanguageCodes at the given index. |
getAlternativeLanguageCodesBytes(int index)
public abstract ByteString getAlternativeLanguageCodesBytes(int index)
A list of up to 3 additional BCP-47 language tags, listing possible alternative languages of the supplied audio. See Language Support for a list of the currently supported language codes. If alternative languages are listed, recognition result will contain recognition in the most likely language detected including the main language_code. The recognition result will include the language tag of the language detected in the audio. Note: This feature is only supported for Voice Command and Voice Search use cases and performance may vary for other use cases (e.g., phone call transcription).
repeated string alternative_language_codes = 18;
| Name | Description |
| index | int The index of the value to return. |
| Type | Description |
| ByteString | The bytes of the alternativeLanguageCodes at the given index. |
getAlternativeLanguageCodesCount()
public abstract int getAlternativeLanguageCodesCount()
A list of up to 3 additional BCP-47 language tags, listing possible alternative languages of the supplied audio. See Language Support for a list of the currently supported language codes. If alternative languages are listed, recognition result will contain recognition in the most likely language detected including the main language_code. The recognition result will include the language tag of the language detected in the audio. Note: This feature is only supported for Voice Command and Voice Search use cases and performance may vary for other use cases (e.g., phone call transcription).
repeated string alternative_language_codes = 18;
| Type | Description |
| int | The count of alternativeLanguageCodes. |
getAlternativeLanguageCodesList()
public abstract List<String> getAlternativeLanguageCodesList()
A list of up to 3 additional BCP-47 language tags, listing possible alternative languages of the supplied audio. See Language Support for a list of the currently supported language codes. If alternative languages are listed, recognition result will contain recognition in the most likely language detected including the main language_code. The recognition result will include the language tag of the language detected in the audio. Note: This feature is only supported for Voice Command and Voice Search use cases and performance may vary for other use cases (e.g., phone call transcription).
repeated string alternative_language_codes = 18;
| Type | Description |
| List<String> | A list containing the alternativeLanguageCodes. |
getAudioChannelCount()
public abstract int getAudioChannelCount()
The number of channels in the input audio data.
ONLY set this for MULTI-CHANNEL recognition.
Valid values for LINEAR16 and FLAC are 1
-8
.
Valid values for OGG_OPUS are '1'-'254'.
Valid value for MULAW, AMR, AMR_WB and SPEEX_WITH_HEADER_BYTE is only 1
.
If 0
or omitted, defaults to one channel (mono).
Note: We only recognize the first channel by default.
To perform independent recognition on each channel set
enable_separate_recognition_per_channel
to 'true'.
int32 audio_channel_count = 7;
| Type | Description |
| int | The audioChannelCount. |
getDiarizationConfig()
public abstract SpeakerDiarizationConfig getDiarizationConfig()
Config to enable speaker diarization and set additional parameters to make diarization better suited for your application. Note: When this is enabled, we send all the words from the beginning of the audio for the top alternative in every consecutive STREAMING responses. This is done in order to improve our speaker tags as our models learn to identify the speakers in the conversation over time. For non-streaming requests, the diarization results will be provided only in the top alternative of the FINAL SpeechRecognitionResult.
.google.cloud.speech.v1p1beta1.SpeakerDiarizationConfig diarization_config = 19;
| Type | Description |
| SpeakerDiarizationConfig | The diarizationConfig. |
getDiarizationConfigOrBuilder()
public abstract SpeakerDiarizationConfigOrBuilder getDiarizationConfigOrBuilder()
Config to enable speaker diarization and set additional parameters to make diarization better suited for your application. Note: When this is enabled, we send all the words from the beginning of the audio for the top alternative in every consecutive STREAMING responses. This is done in order to improve our speaker tags as our models learn to identify the speakers in the conversation over time. For non-streaming requests, the diarization results will be provided only in the top alternative of the FINAL SpeechRecognitionResult.
.google.cloud.speech.v1p1beta1.SpeakerDiarizationConfig diarization_config = 19;
| Type | Description |
| SpeakerDiarizationConfigOrBuilder |
getDiarizationSpeakerCount()
public abstract int getDiarizationSpeakerCount()
If set, specifies the estimated number of speakers in the conversation. Defaults to '2'. Ignored unless enable_speaker_diarization is set to true. Note: Use diarization_config instead.
int32 diarization_speaker_count = 17 [deprecated = true];
| Type | Description |
| int | The diarizationSpeakerCount. |
getEnableAutomaticPunctuation()
public abstract boolean getEnableAutomaticPunctuation()
If 'true', adds punctuation to recognition result hypotheses. This feature is only available in select languages. Setting this for requests in other languages has no effect at all. The default 'false' value does not add punctuation to result hypotheses.
bool enable_automatic_punctuation = 11;
| Type | Description |
| boolean | The enableAutomaticPunctuation. |
getEnableSeparateRecognitionPerChannel()
public abstract boolean getEnableSeparateRecognitionPerChannel()
This needs to be set to true
explicitly and audio_channel_count
> 1
to get each channel recognized separately. The recognition result will
contain a channel_tag
field to state which channel that result belongs
to. If this is not true, we will only recognize the first channel. The
request is billed cumulatively for all channels recognized:
audio_channel_count
multiplied by the length of the audio.
bool enable_separate_recognition_per_channel = 12;
| Type | Description |
| boolean | The enableSeparateRecognitionPerChannel. |
getEnableSpeakerDiarization()
public abstract boolean getEnableSpeakerDiarization()
If 'true', enables speaker detection for each recognized word in the top alternative of the recognition result using a speaker_tag provided in the WordInfo. Note: Use diarization_config instead.
bool enable_speaker_diarization = 16 [deprecated = true];
| Type | Description |
| boolean | The enableSpeakerDiarization. |
getEnableSpokenEmojis()
public abstract BoolValue getEnableSpokenEmojis()
The spoken emoji behavior for the call If not set, uses default behavior based on model of choice If 'true', adds spoken emoji formatting for the request. This will replace spoken emojis with the corresponding Unicode symbols in the final transcript. If 'false', spoken emojis are not replaced.
.google.protobuf.BoolValue enable_spoken_emojis = 23;
| Type | Description |
| BoolValue | The enableSpokenEmojis. |
getEnableSpokenEmojisOrBuilder()
public abstract BoolValueOrBuilder getEnableSpokenEmojisOrBuilder()
The spoken emoji behavior for the call If not set, uses default behavior based on model of choice If 'true', adds spoken emoji formatting for the request. This will replace spoken emojis with the corresponding Unicode symbols in the final transcript. If 'false', spoken emojis are not replaced.
.google.protobuf.BoolValue enable_spoken_emojis = 23;
| Type | Description |
| BoolValueOrBuilder |
getEnableSpokenPunctuation()
public abstract BoolValue getEnableSpokenPunctuation()
The spoken punctuation behavior for the call If not set, uses default behavior based on model of choice e.g. command_and_search will enable spoken punctuation by default If 'true', replaces spoken punctuation with the corresponding symbols in the request. For example, "how are you question mark" becomes "how are you?". See https://cloud.google.com/speech-to-text/docs/spoken-punctuation for support. If 'false', spoken punctuation is not replaced.
.google.protobuf.BoolValue enable_spoken_punctuation = 22;
| Type | Description |
| BoolValue | The enableSpokenPunctuation. |
getEnableSpokenPunctuationOrBuilder()
public abstract BoolValueOrBuilder getEnableSpokenPunctuationOrBuilder()
The spoken punctuation behavior for the call If not set, uses default behavior based on model of choice e.g. command_and_search will enable spoken punctuation by default If 'true', replaces spoken punctuation with the corresponding symbols in the request. For example, "how are you question mark" becomes "how are you?". See https://cloud.google.com/speech-to-text/docs/spoken-punctuation for support. If 'false', spoken punctuation is not replaced.
.google.protobuf.BoolValue enable_spoken_punctuation = 22;
| Type | Description |
| BoolValueOrBuilder |
getEnableWordConfidence()
public abstract boolean getEnableWordConfidence()
If true
, the top result includes a list of words and the
confidence for those words. If false
, no word-level confidence
information is returned. The default is false
.
bool enable_word_confidence = 15;
| Type | Description |
| boolean | The enableWordConfidence. |
getEnableWordTimeOffsets()
public abstract boolean getEnableWordTimeOffsets()
If true
, the top result includes a list of words and
the start and end time offsets (timestamps) for those words. If
false
, no word-level time offset information is returned. The default is
false
.
bool enable_word_time_offsets = 8;
| Type | Description |
| boolean | The enableWordTimeOffsets. |
getEncoding()
public abstract RecognitionConfig.AudioEncoding getEncoding()
Encoding of audio data sent in all RecognitionAudio
messages.
This field is optional for FLAC
and WAV
audio files and required
for all other audio formats. For details, see AudioEncoding.
.google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding encoding = 1;
| Type | Description |
| RecognitionConfig.AudioEncoding | The encoding. |
getEncodingValue()
public abstract int getEncodingValue()
Encoding of audio data sent in all RecognitionAudio
messages.
This field is optional for FLAC
and WAV
audio files and required
for all other audio formats. For details, see AudioEncoding.
.google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding encoding = 1;
| Type | Description |
| int | The enum numeric value on the wire for encoding. |
getLanguageCode()
public abstract String getLanguageCode()
Required. The language of the supplied audio as a BCP-47 language tag. Example: "en-US". See Language Support for a list of the currently supported language codes.
string language_code = 3 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| String | The languageCode. |
getLanguageCodeBytes()
public abstract ByteString getLanguageCodeBytes()
Required. The language of the supplied audio as a BCP-47 language tag. Example: "en-US". See Language Support for a list of the currently supported language codes.
string language_code = 3 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| ByteString | The bytes for languageCode. |
getMaxAlternatives()
public abstract int getMaxAlternatives()
Maximum number of recognition hypotheses to be returned.
Specifically, the maximum number of SpeechRecognitionAlternative
messages
within each SpeechRecognitionResult
.
The server may return fewer than max_alternatives
.
Valid values are 0
-30
. A value of 0
or 1
will return a maximum of
one. If omitted, will return a maximum of one.
int32 max_alternatives = 4;
| Type | Description |
| int | The maxAlternatives. |
getMetadata()
public abstract RecognitionMetadata getMetadata()
Metadata regarding this request.
.google.cloud.speech.v1p1beta1.RecognitionMetadata metadata = 9;
| Type | Description |
| RecognitionMetadata | The metadata. |
getMetadataOrBuilder()
public abstract RecognitionMetadataOrBuilder getMetadataOrBuilder()
Metadata regarding this request.
.google.cloud.speech.v1p1beta1.RecognitionMetadata metadata = 9;
| Type | Description |
| RecognitionMetadataOrBuilder |
getModel()
public abstract String getModel()
Which model to select for the given request. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then we auto-select a model based on the parameters in the RecognitionConfig.

 Model	 Description

 command_and_search	 Best for short queries such as voice commands or voice search.

 phone_call	 Best for audio that originated from a phone call (typically recorded at an 8khz sampling rate).

 video	 Best for audio that originated from video or includes multiple speakers. Ideally the audio is recorded at a 16khz or greater sampling rate. This is a premium model that costs more than the standard rate.

 default	 Best for audio that is not one of the specific audio models. For example, long-form audio. Ideally the audio is high-fidelity, recorded at a 16khz or greater sampling rate.

string model = 13;
| Type | Description |
| String | The model. |
getModelBytes()
public abstract ByteString getModelBytes()
Which model to select for the given request. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then we auto-select a model based on the parameters in the RecognitionConfig.

 Model	 Description

 command_and_search	 Best for short queries such as voice commands or voice search.

 phone_call	 Best for audio that originated from a phone call (typically recorded at an 8khz sampling rate).

 video	 Best for audio that originated from video or includes multiple speakers. Ideally the audio is recorded at a 16khz or greater sampling rate. This is a premium model that costs more than the standard rate.

 default	 Best for audio that is not one of the specific audio models. For example, long-form audio. Ideally the audio is high-fidelity, recorded at a 16khz or greater sampling rate.

string model = 13;
| Type | Description |
| ByteString | The bytes for model. |
getProfanityFilter()
public abstract boolean getProfanityFilter()
If set to true
, the server will attempt to filter out
profanities, replacing all but the initial character in each filtered word
with asterisks, e.g. "f***". If set to false
or omitted, profanities
won't be filtered out.
bool profanity_filter = 5;
| Type | Description |
| boolean | The profanityFilter. |
getSampleRateHertz()
public abstract int getSampleRateHertz()
Sample rate in Hertz of the audio data sent in all
RecognitionAudio
messages. Valid values are: 8000-48000.
16000 is optimal. For best results, set the sampling rate of the audio
source to 16000 Hz. If that's not possible, use the native sample rate of
the audio source (instead of re-sampling).
This field is optional for FLAC and WAV audio files, but is
required for all other audio formats. For details, see AudioEncoding.
int32 sample_rate_hertz = 2;
| Type | Description |
| int | The sampleRateHertz. |
getSpeechContexts(int index)
public abstract SpeechContext getSpeechContexts(int index)
Array of SpeechContext. A means to provide context to assist the speech recognition. For more information, see speech adaptation.
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;
| Name | Description |
| index | int |
| Type | Description |
| SpeechContext |
getSpeechContextsCount()
public abstract int getSpeechContextsCount()
Array of SpeechContext. A means to provide context to assist the speech recognition. For more information, see speech adaptation.
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;
| Type | Description |
| int |
getSpeechContextsList()
public abstract List<SpeechContext> getSpeechContextsList()
Array of SpeechContext. A means to provide context to assist the speech recognition. For more information, see speech adaptation.
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;
| Type | Description |
| List<SpeechContext> |
getSpeechContextsOrBuilder(int index)
public abstract SpeechContextOrBuilder getSpeechContextsOrBuilder(int index)
Array of SpeechContext. A means to provide context to assist the speech recognition. For more information, see speech adaptation.
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;
| Name | Description |
| index | int |
| Type | Description |
| SpeechContextOrBuilder |
getSpeechContextsOrBuilderList()
public abstract List<? extends SpeechContextOrBuilder> getSpeechContextsOrBuilderList()
Array of SpeechContext. A means to provide context to assist the speech recognition. For more information, see speech adaptation.
repeated .google.cloud.speech.v1p1beta1.SpeechContext speech_contexts = 6;
| Type | Description |
| List<? extends com.google.cloud.speech.v1p1beta1.SpeechContextOrBuilder> |
getTranscriptNormalization()
public abstract TranscriptNormalization getTranscriptNormalization()
Use transcription normalization to automatically replace parts of the transcript with phrases of your choosing. For StreamingRecognize, this normalization only applies to stable partial transcripts (stability > 0.8) and final transcripts.
.google.cloud.speech.v1p1beta1.TranscriptNormalization transcript_normalization = 24;
| Type | Description |
| TranscriptNormalization | The transcriptNormalization. |
getTranscriptNormalizationOrBuilder()
public abstract TranscriptNormalizationOrBuilder getTranscriptNormalizationOrBuilder()
Use transcription normalization to automatically replace parts of the transcript with phrases of your choosing. For StreamingRecognize, this normalization only applies to stable partial transcripts (stability > 0.8) and final transcripts.
.google.cloud.speech.v1p1beta1.TranscriptNormalization transcript_normalization = 24;
| Type | Description |
| TranscriptNormalizationOrBuilder |
getUseEnhanced()
public abstract boolean getUseEnhanced()
Set to true to use an enhanced model for speech recognition.
If use_enhanced
is set to true and the model
field is not set, then
an appropriate enhanced model is chosen if an enhanced model exists for
the audio.
If use_enhanced
is true and an enhanced version of the specified model
does not exist, then the speech is recognized using the standard version
of the specified model.
bool use_enhanced = 14;
| Type | Description |
| boolean | The useEnhanced. |
hasAdaptation()
public abstract boolean hasAdaptation()
Speech adaptation configuration improves the accuracy of speech
recognition. When speech adaptation is set it supersedes the
speech_contexts
field. For more information, see the speech
adaptation
documentation.
.google.cloud.speech.v1p1beta1.SpeechAdaptation adaptation = 20;
| Type | Description |
| boolean | Whether the adaptation field is set. |
hasDiarizationConfig()
public abstract boolean hasDiarizationConfig()
Config to enable speaker diarization and set additional parameters to make diarization better suited for your application. Note: When this is enabled, we send all the words from the beginning of the audio for the top alternative in every consecutive STREAMING responses. This is done in order to improve our speaker tags as our models learn to identify the speakers in the conversation over time. For non-streaming requests, the diarization results will be provided only in the top alternative of the FINAL SpeechRecognitionResult.
.google.cloud.speech.v1p1beta1.SpeakerDiarizationConfig diarization_config = 19;
| Type | Description |
| boolean | Whether the diarizationConfig field is set. |
hasEnableSpokenEmojis()
public abstract boolean hasEnableSpokenEmojis()
The spoken emoji behavior for the call If not set, uses default behavior based on model of choice If 'true', adds spoken emoji formatting for the request. This will replace spoken emojis with the corresponding Unicode symbols in the final transcript. If 'false', spoken emojis are not replaced.
.google.protobuf.BoolValue enable_spoken_emojis = 23;
| Type | Description |
| boolean | Whether the enableSpokenEmojis field is set. |
hasEnableSpokenPunctuation()
public abstract boolean hasEnableSpokenPunctuation()
The spoken punctuation behavior for the call If not set, uses default behavior based on model of choice e.g. command_and_search will enable spoken punctuation by default If 'true', replaces spoken punctuation with the corresponding symbols in the request. For example, "how are you question mark" becomes "how are you?". See https://cloud.google.com/speech-to-text/docs/spoken-punctuation for support. If 'false', spoken punctuation is not replaced.
.google.protobuf.BoolValue enable_spoken_punctuation = 22;
| Type | Description |
| boolean | Whether the enableSpokenPunctuation field is set. |
hasMetadata()
public abstract boolean hasMetadata()
Metadata regarding this request.
.google.cloud.speech.v1p1beta1.RecognitionMetadata metadata = 9;
| Type | Description |
| boolean | Whether the metadata field is set. |
hasTranscriptNormalization()
public abstract boolean hasTranscriptNormalization()
Use transcription normalization to automatically replace parts of the transcript with phrases of your choosing. For StreamingRecognize, this normalization only applies to stable partial transcripts (stability > 0.8) and final transcripts.
.google.cloud.speech.v1p1beta1.TranscriptNormalization transcript_normalization = 24;
| Type | Description |
| boolean | Whether the transcriptNormalization field is set. |


switch
statements or expressions in which the default
case
comes before another case.
This construct is unnecessarily confusing.
There is a quick-fix that moves the default
case to the last position.
The fix is available only when a given branch has break
/yield
at the end.
Example:
switch (n) {
default:
System.out.println();
break;
case 1:
break;
}
After the quick-fix is applied:
switch (n) {
case 1:
break;
default:
System.out.println();
break;
}


Make Full-Page SASS/SCSS Sections and Sliders With fullpage.scss
// To get going, you need to either uncomment and use the first two variables in fullpage.scss or (if you prefer not to edit plugin files) define two variables in your stylesheet.
$number: #;
// Set # as your number of slides
$animation_delay: #;
// Set # to adjust your delay. It takes the number of slides and multiplies it by this variable in order to get full duration of the animation.

Please keep in mind this is mostly for conceptual purposes, and as a personal challenge. It will likely only work on modern browsers, although I have checked that it works in Chrome, Safari, and Firefox's latest versions. I've yet to do any browser serious testing, so if you find any issues, let me know on the repo. If you use this, please let me know via email or Twitter


--- layout: page title: Full Width --- {% include breadcrumb.html %}
Most of Start Bootstrap's unstyled templates can be directly integrated into the Modern Business template. You can view all of our unstyled templates on our website at http://startbootstrap.com/template-categories/unstyled.


RegexSplitTransform
The RegexSplitTransform function splits the input records based on the regex to create multiple records on the out port. This function accepts one input and one output field. The input field is split based on the regex provided to the RegexSplitTransform function. The output field holds the values split based on the regex.
This function requires following inputs:
Example
Input file
id
name
roles
1
John
Developer,Reviewer,Lead,Release Manager
2
Mary
Tester,QA Lead
Input fields to RegexSplitTransform function
Output fields for RegexSplitTransform function
regex parameter for RegexSplitTransform function
Pass-through fields
Output of RegexSplitTransform function
id
name
role
1
John
Develoepr
1
John
Reviewer
1
John
Lead
1
John
Release Manager
2
Mary
Tester
2
Mary
QA Lead


| Parameter | Values | Default | Description |
|---|---|---|---|
| embedded | Activates the embedded mode: controls are hidden (unless other parameters specified) | ||
| showControls | "0" and "1" | "0" = OFF | If active, the controls of OSMD are shown like usually. |
| showZoomControl | "0" and "1" | "0" = OFF | If showControls == 0 and showZoomControl == 1, a small zoomControl widget will be displayed to safe space |
| showHeader | "0" and "1" | "0" = OFF | If activated, the OSMD title will be rendered on top of the sheet |
| zoom | floating number between 0.1 and 5.0 | 1.0 | If given, the OSMD zoom level will be set at loading time |
| overflow | "hidden" , "auto", "scroll", "visible" | "auto" | If given, this attribute will refresh the state of the css attribute overflow to control the scrollbar. |
| openUrl | valid URL pointing to a valid musicxml file | "auto" | If given, this attribute open the given musicxml file and display it.
Important:For now, the resources must be hosted on the same server, otherwise it will be blocked by CORS policy.
Examples:http://localhost:8000/?embedded&openUrl=http://localhost:8000/BrookeWestSample.musicxmlhttp://localhost:8000/?embedded&openUrl=https://wpmedia.musicxml.com/wp-content/uploads/2017/12/MahlFaGe4Sample.mxl |


OrderPizzaSDKCore
This is core framework for ordering Pizza. It does not have any UI specific code, so you can create your own UI using this framework.
Installation
Cocoapods:
CocoaPods is a dependency manager for Cocoa projects.
pod 'OrderPizzaSDKCore'
Swift Package Manager:
dependencies: [
.package(url: "https://github.com/chauhan130/OrderPizzaSDKCore.git", from: "4.0.0")
]
Documentation
The project includes the documentation in docs
directory. You can always have a look at it.

OrderManager.shared.finalizeOrder(pizza: myPizza) { (result) in
switch result {
case .success(let orderId):
print("Order is successful. OrderId: \(orderId)")
case .failure:
print("Could not process the order. Error: \(error)")
}
}


This DEMO exemplifies how WebAudioXML can be used to define a flexible scale. When you slide to the right on the touch-area, the pitches snap to a major scale and when you slide to the left, they snap to a minor scale. It's done using two variable objects - one to follow the position on the X-axis and one to follow the direction on the X-axis. Please read the comments audio.xml for more details.
WebAudioXML is a PhD research project invented and maintained by Hans Lindetorp. For more info, turorials, documentation and download links, please visit https://github.com/hanslindetorp/WebAudioXML


Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
C
changeButtonAppearanceToDefault()
- Method in class sandra.examples.asr.asrwithlib.
ASRWithLib
Changes the background color and text of the speech button to show that the app is not listening
changeButtonAppearanceToDefault()
- Method in class sandra.examples.oneshot.voicelaunch.
VoiceLaunch
Provides feedback to the user to show that the app is idle: * It changes the color and the message of the speech button
changeButtonAppearanceToDefault()
- Method in class sandra.examples.oneshot.voicesearch.
VoiceSearch
Provides feedback to the user to show that the app is idle: * It changes the color and the message of the speech button
changeButtonAppearanceToDefault()
- Method in class sandra.examples.oneshot.voicesearchconfirmation.
VoiceSearchConfirmation
Provides feedback to the user to show that the app is idle: * It changes the color and the message of the speech button
changeButtonAppearanceToListen()
- Method in class sandra.examples.asr.asrwithlib.
ASRWithLib
Changes the background color and text of the speech button to show that the app is listening
clearAllFields()
- Method in class sandra.libs.dm.multimodalformfilllib.
DialogInterpreter
compare(Album, Album)
- Method in class sandra.examples.formfill.musicbrain.
AlbumComparator
Compares Albums by date.
compare(VoiceLaunch.MyApp, VoiceLaunch.MyApp)
- Method in class sandra.examples.oneshot.voicelaunch.
VoiceLaunch.AppComparator
compareOrthographic(String, String)
- Method in class sandra.examples.oneshot.voicelaunch.
VoiceLaunch
Compares the names using the Levenshtein distance, which is the minimal number of characters you have to replace, insert or delete to transform string a into string b.
comparePhonetic(String, String)
- Method in class sandra.examples.oneshot.voicelaunch.
VoiceLaunch
Compares the names using their phonetic similarity, using the soundex algorithm.
computeLevenshteinDistance(String, String)
- Static method in class sandra.examples.oneshot.voicelaunch.
LevenshteinDistance
computeRegularExpression()
- Method in class sandra.libs.nlu.nlulib.
HandCraftedGrammar
Transforms the list of phrases obtained from parsing a XML grammar into a regular expression
connectToMaluuba(String)
- Method in class sandra.libs.nlu.nlulib.
NLU
Initiates the connection to the Maluuba service for processing the phrase.
containsGuiField(View)
- Method in class sandra.libs.dm.multimodalformfilllib.
MultimodalDialogInterpreter.MultimodalElement
containsOralField(Field)
- Method in class sandra.libs.dm.multimodalformfilllib.
MultimodalDialogInterpreter.MultimodalElement
country
- Variable in class sandra.examples.formfill.musicbrain.
Album
createAlert(String, String)
- Method in class sandra.examples.formfill.musicbrain.
MusicBrain
Creates an alert dialog in which the user must click OK to continue.
createRecognizer(Context)
- Method in class sandra.libs.asr.asrlib.
ASR
Creates the single SpeechRecognizer instance and assigns a listener
createRecognizer(Context)
- Method in class sandra.libs.asr.asrmultilinguallib.
ASR
Creates the single SpeechRecognizer instance and assigns a listener
ctx
- Variable in class sandra.libs.asr.asrlib.
ASR
ctx
- Variable in class sandra.libs.asr.asrmultilinguallib.
ASR
ctx
- Variable in class sandra.libs.vpa.vpalib.
Bot
currentPosition
- Variable in class sandra.libs.dm.formfilllib.
DialogInterpreter
currentPosition
- Variable in class sandra.libs.dm.multimodalformfilllib.
DialogInterpreter
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X


Class: Resource Private
- Inherits:
-
Downloadable
- Object
- Downloadable
- Resource
- Includes:
- FileUtils, OnSystem::MacOSAndLinux
- Defined in:
- resource.rb
Overview
This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.
Resource is the fundamental representation of an external resource. The primary formula download, along with other declared resources, are instances of this class.
Direct Known Subclasses
Defined Under Namespace
Classes: Go, Partial, PatchResource
Instance Attribute Summary collapse
-
#checksum ⇒ Object
writeonly
private
-
#download_strategy ⇒ Object
private
-
#livecheck(&block) ⇒ Object
private
Livecheck can be used to check for newer versions of the software.
-
#name ⇒ Object
private
Formula name must be set after the DSL, as we have no access to the formula name before initialization of the formula.
-
#owner ⇒ Object
private
-
#patches ⇒ Object
readonly
private
-
#source_modified_time ⇒ Object
readonly
private
Attributes inherited from Downloadable
Instance Method Summary collapse
-
#apply_patches ⇒ Object
private
-
#download_name ⇒ Object
private
-
#escaped_name ⇒ Object
private
Removes /s from resource names; this allows Go package names to be used as resource names without confusing software that interacts with #download_name, e.g.
-
#fetch(verify_download_integrity: true) ⇒ Object
private
-
#fetch_patches(skip_downloaded: false) ⇒ Object
private
-
#files(*files) ⇒ Object
private
-
#freeze ⇒ Object
private
-
#initialize(name = nil, &block) ⇒ void
constructor
private
-
#initialize_dup(other) ⇒ Object
private
-
#livecheckable? ⇒ Boolean
private
Whether a livecheck specification is defined or not.
-
#mirror(val) ⇒ Object
private
-
#patch(strip = :p1, src = nil, &block) ⇒ Object
private
-
#prepare_patches ⇒ Object
private
-
#sha256(val) ⇒ Object
private
-
#specs ⇒ Object
private
-
#stage(target = nil, debug_symbols: false, &block) ⇒ Object
Verifies download and unpacks it.
-
#unpack(target = nil, debug_symbols: false) ⇒ Object
private
If a target is given, unpack there; else unpack to a temp folder.
-
#url(val = nil, **specs) ⇒ Object
private
-
#using ⇒ Object
private
-
#version(val = nil) ⇒ Version?
private
Methods included from OnSystem::MacOSAndLinux
Methods inherited from Downloadable
#cached_download, #clear_cache, #downloaded?, #downloader, #verify_download_integrity
Methods included from Context
current, current=, #debug?, #quiet?, #verbose?, #with_context
Constructor Details
#initialize(name = nil, &block) ⇒ void
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
27 28 29 30 31 32 33 34 35 36 |
# File 'resource.rb', line 27 def initialize(name = nil, &block) super() # Ensure this is synced with `initialize_dup` and `freeze` (excluding simple objects like integers and booleans) @name = name @patches = [] @livecheck = Livecheck.new(self) @livecheckable = false @insecure = false instance_eval(&block) if block end |
Instance Attribute Details
#checksum=(value) ⇒ Object (writeonly)
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
19 20 21 |
# File 'resource.rb', line 19 def checksum=(value) @checksum = value end |
#download_strategy ⇒ Object
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
20 21 22 |
# File 'resource.rb', line 20 def download_strategy @download_strategy end |
#livecheck(&block) ⇒ Object
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
Livecheck can be used to check for newer versions of the software.
This method evaluates the DSL specified in the livecheck block of the
Resource (if it exists) and sets the instance variables of a Livecheck
object accordingly. This is used by brew livecheck
to check for newer
versions of the software.
livecheck do
url "https://example.com/foo/releases"
regex /foo-(\d+(?:\.\d+)+)\.tar/
end
161 162 163 164 165 166 |
# File 'resource.rb', line 161 def livecheck(&block) return @livecheck unless block @livecheckable = true @livecheck.instance_eval(&block) end |
#name ⇒ Object
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
Formula name must be set after the DSL, as we have no access to the formula name before initialization of the formula.
24 25 26 |
# File 'resource.rb', line 24 def name @name end |
#owner ⇒ Object
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
18 19 20 |
# File 'resource.rb', line 18 def owner @owner end |
#patches ⇒ Object (readonly)
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
18 19 20 |
# File 'resource.rb', line 18 def patches @patches end |
#source_modified_time ⇒ Object (readonly)
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
18 19 20 |
# File 'resource.rb', line 18 def source_modified_time @source_modified_time end |
Instance Method Details
#apply_patches ⇒ Object
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
110 111 112 113 114 115 |
# File 'resource.rb', line 110 def apply_patches return if patches.empty? ohai "Patching #{name}" patches.each(&:apply) end |
#download_name ⇒ Object
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
77 78 79 80 81 82 |
# File 'resource.rb', line 77 def download_name return owner.name if name.nil? return escaped_name if owner.nil? "#{owner.name}--#{escaped_name}" end |
#escaped_name ⇒ Object
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
Removes /s from resource names; this allows Go package names
to be used as resource names without confusing software that
interacts with #download_name, e.g. github.com/foo/bar
.
73 74 75 |
# File 'resource.rb', line 73 def escaped_name name.tr("/", "-") end |
#fetch(verify_download_integrity: true) ⇒ Object
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
144 145 146 147 148 |
# File 'resource.rb', line 144 def fetch(verify_download_integrity: true) fetch_patches super(verify_download_integrity: verify_download_integrity) end |
#fetch_patches(skip_downloaded: false) ⇒ Object
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
104 105 106 107 108 |
# File 'resource.rb', line 104 def fetch_patches(skip_downloaded: false) external_patches = patches.select(&:external?) external_patches.reject!(&:downloaded?) if skip_downloaded external_patches.each(&:fetch) end |
#files(*files) ⇒ Object
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
140 141 142 |
# File 'resource.rb', line 140 def files(*files) Partial.new(self, files) end |
#freeze ⇒ Object
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
45 46 47 48 49 50 |
# File 'resource.rb', line 45 def freeze @name.freeze @patches.freeze @livecheck.freeze super end |
#initialize_dup(other) ⇒ Object
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
38 39 40 41 42 43 |
# File 'resource.rb', line 38 def initialize_dup(other) super @name = @name.dup @patches = @patches.dup @livecheck = @livecheck.dup end |
#livecheckable? ⇒ Boolean
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
Whether a livecheck specification is defined or not. It returns true when a livecheck block is present in the Resource and false otherwise, and is used by livecheck.
171 172 173 |
# File 'resource.rb', line 171 def livecheckable? @livecheckable == true end |
#mirror(val) ⇒ Object
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
208 209 210 |
# File 'resource.rb', line 208 def mirror(val) mirrors << val end |
#patch(strip = :p1, src = nil, &block) ⇒ Object
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
212 213 214 215 |
# File 'resource.rb', line 212 def patch(strip = :p1, src = nil, &block) p = Patch.create(strip, src, &block) patches << p end |
#prepare_patches ⇒ Object
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
100 101 102 |
# File 'resource.rb', line 100 def prepare_patches patches.grep(DATAPatch) { |p| p.path = owner.owner.path } end |
#sha256(val) ⇒ Object
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
175 176 177 |
# File 'resource.rb', line 175 def sha256(val) @checksum = Checksum.new(val) end |
#specs ⇒ Object
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
221 222 223 |
# File 'resource.rb', line 221 def specs @url&.specs || {}.freeze end |
#stage(target = nil, debug_symbols: false, &block) ⇒ Object
Verifies download and unpacks it.
The block may call |resource, staging| staging.retain!
to retain the staging
directory. Subclasses that override stage should implement the tmp
dir using Mktemp so that works with all subtypes.
90 91 92 93 94 95 96 97 98 |
# File 'resource.rb', line 90 def stage(target = nil, debug_symbols: false, &block) raise ArgumentError, "Target directory or block is required" if !target && block.blank? prepare_patches fetch_patches(skip_downloaded: true) fetch unless downloaded? unpack(target, debug_symbols: debug_symbols, &block) end |
#unpack(target = nil, debug_symbols: false) ⇒ Object
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
If a target is given, unpack there; else unpack to a temp folder.
If block is given, yield to that block with |stage|
, where stage
is a ResourceStageContext.
A target or a block must be given, but not both.
121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 |
# File 'resource.rb', line 121 def unpack(target = nil, debug_symbols: false) current_working_directory = Pathname.pwd stage_resource(download_name, debug_symbols: debug_symbols) do |staging| downloader.stage do @source_modified_time = downloader.source_modified_time apply_patches if block_given? yield ResourceStageContext.new(self, staging) elsif target target = Pathname(target) target = current_working_directory/target if target.relative? target.install Pathname.pwd.children end end end end |
#url(val = nil, **specs) ⇒ Object
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
179 180 181 182 183 184 185 186 187 188 189 190 191 |
# File 'resource.rb', line 179 def url(val = nil, **specs) return @url&.to_s if val.nil? specs = specs.dup # Don't allow this to be set. specs.delete(:insecure) specs[:insecure] = true if @insecure @url = URL.new(val, specs) @downloader = nil @download_strategy = @url.download_strategy end |
#using ⇒ Object
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
217 218 219 |
# File 'resource.rb', line 217 def using @url&.using end |
#version(val = nil) ⇒ Version?
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
194 195 196 197 198 199 200 201 202 203 204 205 206 |
# File 'resource.rb', line 194 def version(val = nil) return super() if val.nil? @version = case T.unsafe(val) when String val.blank? ? Version::NULL : Version.new(val) when Version val else # TODO: This can probably go if/when typechecking is enforced in taps. raise TypeError, "version '#{val.inspect}' should be a string" end end |


White : British, English, Northern Irish, Scottish, or Welsh
Your Marital Status
What is your marital status?
Single
Your Religion or Belief
Please indicate which best describes your religion or belief
No religion
Disclaimer
Do any of the disclaimer points listed above relate to yourself?
No


10.7.a setfocus element
The triggers below must shift the focus to the proper form controls when activated. The Set Focus To
Shipping trigger
must place the focus into the empty input control labeled Shipping. The Set Focus To
First Item trigger must must place the focus into the input control containing the value
"brake pad". The Set Focus To Third Item trigger must must place the focus into
the input control containing the value "fan belt".
Shipping:
Item Name:
Set Focus To Shipping
Set Focus To First Item
Set Focus To Third Item


WaffleJS is another js grid but it's not just another js grid.
Dependence free and yet ready to get the better of well-known libraries if you want it to.
Choose your flavor!
Light weight.
You already have jQuery and Underscore.js as dependencies? This waffle distribution is for you.
Put some $ and _ on your waffles!
Show sample!
Dependence free.
Without any requirements, this waffle distribution is packaged with everything needed.
Waffles and only waffles!
Half-light weight.
Put some $ on your waffles!
Put some _ on your waffles!
This one is a bit special.
Did I hear waffle AngularJS module?


Version 1.0.6 by Volodymyr Volynets
- Harvester
- Enhancement #1302 (H/9 wip, B/I fix.)
Repository / Git:
Name: Numbers\BI
Title: Business Intelligence modules for Numbers Framework
Version: 1.0.5
Last Tag: 1.0.5
User Name: Volodymyr Volynets
User Email<EMAIL_ADDRESS>Statistics:
Addition: 944
Deletion: 1
Modules:
B/I Business Intelligence (Numbers\BI\BusinessIntelligence, 1.0.4) | 1 1
1 1 | BusinessIntelligence/Data/System.php
H/9 Harvester (Numbers\BI\Harvester, 1.0.0) | 943 0
6 0 | Harvester/Abstract2/Worker.php
11 0 | Harvester/Controller/QuickView.php
11 0 | Harvester/Controller/Schedule.php
60 0 | Harvester/Data/Import.php
225 0 | Harvester/Data/System.php
36 0 | Harvester/Data/Tasks.php
156 0 | Harvester/Form/QuickView.php
54 0 | Harvester/Form/Task/Schedule.php
36 0 | Harvester/Harvester/ActiveSessions.php
41 0 | Harvester/Harvester/Import.php
18 0 | Harvester/Model/Collection/Types.php
49 0 | Harvester/Model/Metric/FieldIDs.php
55 0 | Harvester/Model/Metric/Type/Counters.php
52 0 | Harvester/Model/Metric/Types.php
64 0 | Harvester/Model/Metrics.php
43 0 | Harvester/Task/Schedule.php
26 0 | Harvester/module.ini